summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-10 16:17:35 +0200
committerMarek Olšák <[email protected]>2015-06-05 19:44:32 +0200
commit1fa6c99e24890359e9cee2a9da02f21ea77b9f15 (patch)
tree83cd3a4a629c4ac38dfefaeb75291632bba9a9f8 /src/mesa/state_tracker
parentd3fbc659868ecdbfe14600a75eafe28174f7d99e (diff)
tgsi/ureg: add support for GS input array declarations
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index c1810b69247..95968120730 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -5203,7 +5203,7 @@ st_translate_program(
for (i = 0; i < numInputs; i++) {
t->inputs[i] = ureg_DECL_input(ureg,
inputSemanticName[i],
- inputSemanticIndex[i]);
+ inputSemanticIndex[i], 0, 1);
}
for (i = 0; i < numOutputs; i++) {
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 8efbc6fd69e..896e239ee68 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -1097,7 +1097,7 @@ st_translate_mesa_program(
for (i = 0; i < numInputs; i++) {
t->inputs[i] = ureg_DECL_input(ureg,
inputSemanticName[i],
- inputSemanticIndex[i]);
+ inputSemanticIndex[i], 0, 1);
}
for (i = 0; i < numOutputs; i++) {