Module: Mesa
Branch: vulkan
Commit: 76b0ba087c50a271867f98eaf2acf0364d5b706e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=76b0ba087c50a271867f98eaf2acf0364d5b706e

Author: Nanley Chery <[email protected]>
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 <[email protected]>
Reviewed-by: Kristian Høgsberg Kristensen <[email protected]>

---

 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
       },

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to