intel/isl: FXT1 support was removed on Gfx12.5
v2: cleanup (Jordan Justen) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13241>
This commit is contained in:
parent
4537814349
commit
70f193ffcf
|
@ -735,13 +735,14 @@ isl_format_supports_sampling(const struct intel_device_info *devinfo,
|
||||||
return true;
|
return true;
|
||||||
} else if (devinfo->verx10 >= 125) {
|
} else if (devinfo->verx10 >= 125) {
|
||||||
const struct isl_format_layout *fmtl = isl_format_get_layout(format);
|
const struct isl_format_layout *fmtl = isl_format_get_layout(format);
|
||||||
/* ASTC support was removed from the hardware on Gfx12.5. Annoyingly,
|
/* ASTC & FXT1 support was removed from the hardware on Gfx12.5.
|
||||||
* our format_info table doesn't have a concept of things being removed
|
* Annoyingly, our format_info table doesn't have a concept of things
|
||||||
* so we handle it as yet another special case.
|
* being removed so we handle it as yet another special case.
|
||||||
|
*
|
||||||
|
* See HSD 1408144932 (ASTC), 1407633611 (FXT1)
|
||||||
*
|
*
|
||||||
* See HSD 1408144932
|
|
||||||
*/
|
*/
|
||||||
if (fmtl->txc == ISL_TXC_ASTC)
|
if (fmtl->txc == ISL_TXC_ASTC || fmtl->txc == ISL_TXC_FXT1)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue