aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-18 14:07:47 -0600
committerBrian Paul <[email protected]>2016-03-21 11:59:25 -0600
commit5a9f2a2d8957676cdb4843dc9026639381495ae8 (patch)
tree7a7db0e1faf5291b588b2113ee13d23f0a3cb138 /src/gallium/auxiliary/hud
parentb3daaefadb05cdde439198a2159daf895dc7c475 (diff)
hud: add sampler view declaration in text fragment shader
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index fb998349a35..4673458171e 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -1191,6 +1191,7 @@ hud_create(struct pipe_context *pipe, struct cso_context *cso)
"FRAG\n"
"DCL IN[0], GENERIC[0], LINEAR\n"
"DCL SAMP[0]\n"
+ "DCL SVIEW[0], RECT, FLOAT\n"
"DCL OUT[0], COLOR[0]\n"
"DCL TEMP[0]\n"