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:
@@ -911,7 +911,12 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
||||
}
|
||||
#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);
|
||||
#elif GFX_VER >= 9
|
||||
if (!info->use_clear_address) {
|
||||
|
Reference in New Issue
Block a user