summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-05-29 14:11:58 +0200
committerMarek Olšák <[email protected]>2013-06-13 03:54:13 +0200
commitde1c38299ceb3160ed0c163d4dd8944ec6589a7f (patch)
tree44ae0b0e88815cc1725ee35883c7964da13fe094 /src/gallium/tests/trivial/tri.c
parent45595d506646f560ab16af58acdea2fc563e942b (diff)
gallium/util: make WRITES_ALL_CBUFS optional in the passthrough fragment shader
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/tests/trivial/tri.c')
-rw-r--r--src/gallium/tests/trivial/tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c
index 9131bb535db..f93c3f78710 100644
--- a/src/gallium/tests/trivial/tri.c
+++ b/src/gallium/tests/trivial/tri.c
@@ -218,7 +218,7 @@ static void init_prog(struct program *p)
/* fragment shader */
p->fs = util_make_fragment_passthrough_shader(p->pipe,
- TGSI_SEMANTIC_COLOR, TGSI_INTERPOLATE_PERSPECTIVE);
+ TGSI_SEMANTIC_COLOR, TGSI_INTERPOLATE_PERSPECTIVE, TRUE);
}
static void close_prog(struct program *p)