mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
isl: Don't set clear values or their address (xe2)
The render surface state doesn't have these features any more since Xe2. Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29906>
This commit is contained in:
parent
93f790b04a
commit
3b89bdb96e
1 changed files with 6 additions and 1 deletions
|
|
@ -911,7 +911,12 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GFX_VER >= 12
|
#if GFX_VER >= 20
|
||||||
|
/* According to Bspec 57023 >> RENDER_SURFACE_STATE, the clear value
|
||||||
|
* address and explicit clear value are removed since Xe2.
|
||||||
|
*/
|
||||||
|
assert(!info->use_clear_address);
|
||||||
|
#elif GFX_VER >= 12
|
||||||
assert(info->use_clear_address);
|
assert(info->use_clear_address);
|
||||||
#elif GFX_VER >= 9
|
#elif GFX_VER >= 9
|
||||||
if (!info->use_clear_address) {
|
if (!info->use_clear_address) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue