anv/clear: Disable the scissor operation
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 6 Apr 2016 22:57:32 +0000 (15:57 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 14 Apr 2016 00:45:18 +0000 (17:45 -0700)
Since the scissor rectangle always matches that of the framebuffer,
this operation isn't needed.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/intel/vulkan/anv_meta_clear.c

index a03701c684b0df1c3e34efbded1e8c017752a80a..50085894b9c688831a9a82d2063b46486a9df333 100644 (file)
@@ -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
       },