i965: Add missing BRW_NEW_VS_PROG_DATA to 3DSTATE_CLIP.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Sep 2016 05:50:20 +0000 (22:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Oct 2016 00:09:07 +0000 (17:09 -0700)
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/gen6_clip_state.c

index 9c33e67c9aad8abf26b93a87841670643b892500..16a96fcaf179c061be071c84a22eb64872dd5400 100644 (file)
@@ -102,6 +102,7 @@ upload_clip_state(struct brw_context *brw)
       dw2 |= GEN6_CLIP_NON_PERSPECTIVE_BARYCENTRIC_ENABLE;
    }
 
+   /* BRW_NEW_VS_PROG_DATA */
    dw1 |= brw->vs.prog_data->base.cull_distance_mask;
 
    if (brw->gen >= 7)
@@ -262,6 +263,7 @@ const struct brw_tracked_state gen6_clip_state = {
                BRW_NEW_CONTEXT |
                BRW_NEW_FS_PROG_DATA |
                BRW_NEW_GS_PROG_DATA |
+               BRW_NEW_VS_PROG_DATA |
                BRW_NEW_META_IN_PROGRESS |
                BRW_NEW_PRIMITIVE |
                BRW_NEW_RASTERIZER_DISCARD |