diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2023-08-05 12:31:58 +0300 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2023-08-07 12:02:57 +0300 |
commit | f5074adeb52eaf4bd34f1f7534d52ce16800e200 (patch) | |
tree | ab762adeed5251a7408a375f9c46af5b0ce530a8 /src/intel/vulkan/anv_blorp.c | |
parent | 85c5b68823c2dd79e69946faf7afa3e3257e6970 (diff) |
anv: enable INTEL_DEBUG=nofc
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24510>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index c5833001f48..8553327626a 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -1148,6 +1148,9 @@ can_fast_clear_color_att(struct anv_cmd_buffer *cmd_buffer, const VkClearAttachment *attachment, uint32_t rectCount, const VkClearRect *pRects) { + if (INTEL_DEBUG(DEBUG_NO_FAST_CLEAR)) + return false; + /* We don't support fast clearing with conditional rendering at the * moment. All the tracking done around fast clears (clear color updates * and fast-clear type updates) happens unconditionally. @@ -1696,6 +1699,9 @@ can_hiz_clear_att(struct anv_cmd_buffer *cmd_buffer, const VkClearAttachment *attachment, uint32_t rectCount, const VkClearRect *pRects) { + if (INTEL_DEBUG(DEBUG_NO_FAST_CLEAR)) + return false; + /* From Bspec's section MI_PREDICATE: * * "The MI_PREDICATE command is used to control the Predicate state bit, |