iris: Disable the MC_CCS modifier with norbc
We generally try to disable CCS whenever the norbc debug flag is set. Also, this enables simplifying iris_resource_configure_aux later on. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11960>
This commit is contained in:
parent
b71264e465
commit
b9d8793646
|
@ -110,6 +110,9 @@ modifier_is_supported(const struct intel_device_info *devinfo,
|
||||||
/* Check remaining requirements. */
|
/* Check remaining requirements. */
|
||||||
switch (modifier) {
|
switch (modifier) {
|
||||||
case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:
|
case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:
|
||||||
|
if (INTEL_DEBUG(DEBUG_NO_RBC))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (pfmt != PIPE_FORMAT_BGRA8888_UNORM &&
|
if (pfmt != PIPE_FORMAT_BGRA8888_UNORM &&
|
||||||
pfmt != PIPE_FORMAT_RGBA8888_UNORM &&
|
pfmt != PIPE_FORMAT_RGBA8888_UNORM &&
|
||||||
pfmt != PIPE_FORMAT_BGRX8888_UNORM &&
|
pfmt != PIPE_FORMAT_BGRX8888_UNORM &&
|
||||||
|
|
Loading…
Reference in New Issue