diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-12 17:38:56 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-13 16:28:25 -0700 |
commit | c564348a2ec601b28ae607ca0f77054ea53f6912 (patch) | |
tree | 44312abbc8162862bebb751b3cd323b881b50b39 /src/mesa/drivers/dri/i965/gen8_ds_state.c | |
parent | a1c244479247a736961f637b415e07d327203250 (diff) |
i965: Add support for GL_ARB_cull_distance
Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen8_ds_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_ds_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_ds_state.c b/src/mesa/drivers/dri/i965/gen8_ds_state.c index c73016897b1..95582ac4448 100644 --- a/src/mesa/drivers/dri/i965/gen8_ds_state.c +++ b/src/mesa/drivers/dri/i965/gen8_ds_state.c @@ -69,7 +69,8 @@ gen8_upload_ds_state(struct brw_context *brw) GEN7_DS_SIMD8_DISPATCH_ENABLE : 0) | (tes_prog_data->domain == BRW_TESS_DOMAIN_TRI ? GEN7_DS_COMPUTE_W_COORDINATE_ENABLE : 0)); - OUT_BATCH(SET_FIELD(ctx->Transform.ClipPlanesEnabled, + OUT_BATCH(SET_FIELD(vue_prog_data->cull_distance_mask | + ctx->Transform.ClipPlanesEnabled, GEN8_DS_USER_CLIP_DISTANCE)); if (brw->gen >= 9) { |