summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
index dc25bac4ea..c784091985 100644
--- a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
+++ b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
@@ -18,6 +18,7 @@ map_register_file(
case PROGRAM_STATE_VAR:
//case PROGRAM_NAMED_PARAM:
case PROGRAM_CONSTANT:
+ case PROGRAM_UNIFORM:
return TGSI_FILE_CONSTANT;
case PROGRAM_INPUT:
return TGSI_FILE_INPUT;