Mesa (vulkan): anv/clear: Disable the scissor operation
Nanley Chery
nchery at kemper.freedesktop.org
Thu Apr 14 01:04:20 UTC 2016
Module: Mesa
Branch: vulkan
Commit: 76b0ba087c50a271867f98eaf2acf0364d5b706e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76b0ba087c50a271867f98eaf2acf0364d5b706e
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Wed Apr 6 15:57:32 2016 -0700
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 <nanley.g.chery at intel.com>
Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
---
src/intel/vulkan/anv_meta_clear.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/vulkan/anv_meta_clear.c b/src/intel/vulkan/anv_meta_clear.c
index a03701c..5008589 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
},
More information about the mesa-commit
mailing list