mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
radv: add notccompatcmask debug option
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9415>
This commit is contained in:
parent
f810d8cd50
commit
9d42e71505
@ -595,6 +595,8 @@ RADV driver environment variables
|
||||
disable NGG for GFX10+
|
||||
``nooutoforder``
|
||||
disable out-of-order rasterization
|
||||
``notccompatcmask``
|
||||
disable TC-compat CMASK for MSAA surfaces
|
||||
``nothreadllvm``
|
||||
disable LLVM threaded compilation
|
||||
``noumr``
|
||||
|
@ -61,6 +61,7 @@ enum {
|
||||
RADV_DEBUG_NO_UMR = 1ull << 30,
|
||||
RADV_DEBUG_INVARIANT_GEOM = 1ull << 31,
|
||||
RADV_DEBUG_NO_DISPLAY_DCC = 1ull << 32,
|
||||
RADV_DEBUG_NO_TC_COMPAT_CMASK= 1ull << 33,
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -796,6 +796,7 @@ static const struct debug_control radv_debug_options[] = {
|
||||
{"noumr", RADV_DEBUG_NO_UMR},
|
||||
{"invariantgeom", RADV_DEBUG_INVARIANT_GEOM},
|
||||
{"nodisplaydcc", RADV_DEBUG_NO_DISPLAY_DCC},
|
||||
{"notccompatcmask", RADV_DEBUG_NO_TC_COMPAT_CMASK},
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
|
@ -267,6 +267,9 @@ radv_use_tc_compat_cmask_for_image(struct radv_device *device,
|
||||
if (device->physical_device->rad_info.chip_class < GFX8)
|
||||
return false;
|
||||
|
||||
if (device->instance->debug_flags & RADV_DEBUG_NO_TC_COMPAT_CMASK)
|
||||
return false;
|
||||
|
||||
/* TODO: Enable TC-compat CMASK on GFX8-9. */
|
||||
if (device->physical_device->rad_info.chip_class < GFX10 &&
|
||||
!(device->instance->perftest_flags & RADV_PERFTEST_TC_COMPAT_CMASK))
|
||||
|
Loading…
Reference in New Issue
Block a user