summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-04-25 14:06:50 +0100
committerJosé Fonseca <[email protected]>2013-04-25 14:06:50 +0100
commit74d1153c9c3f5f88ad3fa1819d54f5b574b2e37f (patch)
treedaa9c649e39f0b952002fb58ff9c6e8d043d5dea
parente88a1dba09be86da7f913ee468a2c2d7940ee945 (diff)
graw: Set the vertex shader constant buffer.
We were setting the fragment shader, which wasn't needed.
-rw-r--r--src/gallium/tests/graw/vs-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c
index 61f6a93c27c..1ab6732bb17 100644
--- a/src/gallium/tests/graw/vs-test.c
+++ b/src/gallium/tests/graw/vs-test.c
@@ -111,7 +111,7 @@ static void init_fs_constbuf( void )
pipe_set_constant_buffer(ctx,
- PIPE_SHADER_FRAGMENT, 0,
+ PIPE_SHADER_VERTEX, 0,
constbuf);
}