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_state.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_state.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_state.c b/src/gallium/drivers/vc4/vc4_state.c index 7ccffebe12e..099006b3e57 100644 --- a/src/gallium/drivers/vc4/vc4_state.c +++ b/src/gallium/drivers/vc4/vc4_state.c @@ -68,7 +68,9 @@ static void vc4_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *clip) { - fprintf(stderr, "clip todo\n"); + struct vc4_context *vc4 = vc4_context(pctx); + vc4->clip = *clip; + vc4->dirty |= VC4_DIRTY_CLIP; } static void |