OSDN Git Service

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 a03701c..5008589 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
       },