summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tex-swizzle.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-18 14:20:44 -0600
committerBrian Paul <[email protected]>2016-03-21 11:59:25 -0600
commitb56b853ab3937d6144597f490bb38e2532d0cee2 (patch)
treec2842883c55692158b79e3a746a9a0209b145230 /src/gallium/tests/graw/tex-swizzle.c
parent38e831ca3dc896aa8f64870ee38f67e554a59c6f (diff)
gallium/tests: declare sampler views in shaders
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw/tex-swizzle.c')
-rw-r--r--src/gallium/tests/graw/tex-swizzle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/tex-swizzle.c b/src/gallium/tests/graw/tex-swizzle.c
index e45b848b48e..8b472c9364c 100644
--- a/src/gallium/tests/graw/tex-swizzle.c
+++ b/src/gallium/tests/graw/tex-swizzle.c
@@ -89,6 +89,7 @@ static void set_fragment_shader(void)
"DCL IN[0], GENERIC[0], PERSPECTIVE\n"
"DCL OUT[0], COLOR\n"
"DCL SAMP[0]\n"
+ "DCL SVIEW[0], 2D, FLOAT\n"
" 0: TXP OUT[0], IN[0], SAMP[0], 2D\n"
" 2: END\n";