diff options
author | Eric Anholt <[email protected]> | 2014-10-15 15:25:57 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-10-15 18:11:46 +0100 |
commit | 201d4c0b2a6f7f0c1d59c4fd5cce4916fc48a2d2 (patch) | |
tree | 85ae3991ed5f24aac3d0993c912e38e4068b1135 /src/gallium/drivers/vc4/vc4_qir.c | |
parent | 6a0bf67048d508f907db6bb05e5e367308c21511 (diff) |
vc4: Add support for user clip plane and gl_ClipVertex.
Fixes about 15 piglit tests about interpolation and clipping.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index 432fb1bf555..9c7c15e4924 100644 --- a/src/gallium/drivers/vc4/vc4_qir.c +++ b/src/gallium/drivers/vc4/vc4_qir.c @@ -292,7 +292,9 @@ qir_compile_init(void) make_empty_list(&c->instructions); c->output_position_index = -1; + c->output_clipvertex_index = -1; c->output_color_index = -1; + c->output_point_size_index = -1; return c; } |