diff options
author | Nanley Chery <[email protected]> | 2016-04-13 11:59:54 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2016-04-13 18:00:41 -0700 |
commit | 1949e502bc74f0d65127ceef024b2c8af848f94c (patch) | |
tree | 0f41b8967100bb99e3d085ede86268f6889ce6d4 /src/intel/vulkan/gen7_pipeline.c | |
parent | 9f72466e9f03e72cc805775e8f6104c212150ba7 (diff) |
anv: Replace ::disable_scissor with ::use_rectlists
Meta currently uses screenspace RECTLIST primitives that lie within
the framebuffer rectangle. Since this behavior shouldn't change in the
future, disable the scissor operation whenever rectlists are used.
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/gen7_pipeline.c')
-rw-r--r-- | src/intel/vulkan/gen7_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index 5c04fb749cc..d6d5ce6778f 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -54,7 +54,7 @@ gen7_emit_rs_state(struct anv_pipeline *pipeline, .CullMode = vk_to_gen_cullmode[info->cullMode], /* uint32_t LineEndCapAntialiasingRegionWidth; */ - .ScissorRectangleEnable = !(extra && extra->disable_scissor), + .ScissorRectangleEnable = !(extra && extra->use_rectlist), /* uint32_t MultisampleRasterizationMode; */ /* bool LastPixelEnable; */ |