diff options
Diffstat (limited to 'src/gallium/tests/trivial')
-rw-r--r-- | src/gallium/tests/trivial/tri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c index ad88b869c8d..9acf2e1628a 100644 --- a/src/gallium/tests/trivial/tri.c +++ b/src/gallium/tests/trivial/tri.c @@ -216,7 +216,8 @@ static void init_prog(struct program *p) } /* fragment shader */ - p->fs = util_make_fragment_passthrough_shader(p->pipe); + p->fs = util_make_fragment_passthrough_shader(p->pipe, + TGSI_SEMANTIC_COLOR, TGSI_INTERPOLATE_PERSPECTIVE); } static void close_prog(struct program *p) |