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.h | |
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.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 0e4b78c02b6..b95dbc33d51 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -183,6 +183,8 @@ enum quniform_contents { QUNIFORM_VIEWPORT_Z_OFFSET, QUNIFORM_VIEWPORT_Z_SCALE, + QUNIFORM_USER_CLIP_PLANE, + /** * A reference to a texture config parameter 0 uniform. * @@ -272,6 +274,7 @@ struct vc4_compile { uint32_t num_outputs; uint32_t num_texture_samples; uint32_t output_position_index; + uint32_t output_clipvertex_index; uint32_t output_color_index; uint32_t output_point_size_index; |