mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
intel/isl: ASTC support was removed on Gfx12.5
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13206>
This commit is contained in:
parent
58bb20179b
commit
e7f3da0138
1 changed files with 10 additions and 0 deletions
|
|
@ -733,6 +733,16 @@ isl_format_supports_sampling(const struct intel_device_info *devinfo,
|
|||
*/
|
||||
if (fmtl->txc == ISL_TXC_ASTC)
|
||||
return true;
|
||||
} else if (devinfo->verx10 >= 125) {
|
||||
const struct isl_format_layout *fmtl = isl_format_get_layout(format);
|
||||
/* ASTC support was removed from the hardware on Gfx12.5. Annoyingly,
|
||||
* our format_info table doesn't have a concept of things being removed
|
||||
* so we handle it as yet another special case.
|
||||
*
|
||||
* See HSD 1408144932
|
||||
*/
|
||||
if (fmtl->txc == ISL_TXC_ASTC)
|
||||
return false;
|
||||
}
|
||||
|
||||
return devinfo->verx10 >= format_info[format].sampling;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue