summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2016-04-06 15:57:32 -0700
committerNanley Chery <[email protected]>2016-04-13 17:45:18 -0700
commit76b0ba087c50a271867f98eaf2acf0364d5b706e (patch)
tree7b879baa2246a7898486d0f164476b3d34d64ac3 /src/intel
parent9e351e077befbdc179f7926edd8b5dde02f20494 (diff)
anv/clear: Disable the scissor operation
Since the scissor rectangle always matches that of the framebuffer, this operation isn't needed. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_meta_clear.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_meta_clear.c b/src/intel/vulkan/anv_meta_clear.c
index a03701c684b..50085894b9c 100644
--- a/src/intel/vulkan/anv_meta_clear.c
+++ b/src/intel/vulkan/anv_meta_clear.c
@@ -213,6 +213,7 @@ create_pipeline(struct anv_device *device,
.color_attachment_count = MAX_RTS,
.use_repclear = use_repclear,
.disable_viewport = true,
+ .disable_scissor = true,
.disable_vs = true,
.use_rectlist = true
},