hud: add sampler view declaration in text fragment shader
authorBrian Paul <brianp@vmware.com>
Fri, 18 Mar 2016 20:07:47 +0000 (14:07 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Mar 2016 17:59:25 +0000 (11:59 -0600)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/hud/hud_context.c

index fb998349a35dce138b1b8f017f58c341be7d238b..4673458171e7a9b76bf5eae3171ec5aec660e519 100644 (file)
@@ -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"