diff options
author | Kenneth Graunke <[email protected]> | 2016-07-18 13:52:07 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-07-20 10:59:44 -0700 |
commit | 44502afd8219c298fafa39625a178713c912d975 (patch) | |
tree | feb7639f6109c23dfde75c4371fa6be91d2c32ad /src/intel/vulkan | |
parent | 0d77f08042b00cff81bebceb7877bc20f80c0965 (diff) |
anv: Enable early culling on Gen7.
We set the cull mode, but forgot the enable bit. Gen8 uses this.
Cc: "12.0" <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/gen7_pipeline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index a50d9c70900..a9f5e0b51e5 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -122,6 +122,7 @@ genX(graphics_pipeline_create)( anv_batch_emit(&pipeline->batch, GENX(3DSTATE_CLIP), clip) { clip.FrontWinding = vk_to_gen_front_face[rs_info->frontFace], + clip.EarlyCullEnable = true, clip.CullMode = vk_to_gen_cullmode[rs_info->cullMode], clip.ClipEnable = !(extra && extra->use_rectlist), clip.APIMode = APIMODE_D3D, |