Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5007>
{ "nobin", TU_DEBUG_NOBIN },
{ "sysmem", TU_DEBUG_SYSMEM },
{ "forcebin", TU_DEBUG_FORCEBIN },
+ { "noubwc", TU_DEBUG_NOUBWC },
{ NULL, 0 }
};
EXTERNAL_MEMORY_IMAGE_CREATE_INFO) != NULL;
image->layout.tile_mode = TILE6_3;
- bool ubwc_enabled = true;
+ bool ubwc_enabled =
+ !(device->physical_device->instance->debug_flags & TU_DEBUG_NOUBWC);
/* disable tiling when linear is requested and for compressed formats */
if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR ||
TU_DEBUG_NOBIN = 1 << 3,
TU_DEBUG_SYSMEM = 1 << 4,
TU_DEBUG_FORCEBIN = 1 << 5,
+ TU_DEBUG_NOUBWC = 1 << 6,
};
struct tu_instance