anv: disable Wa_1806565034 when robustImageAccess is enabled
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5711 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7859 Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20280>
This commit is contained in:
committed by
Marge Bot
parent
94bb4a13fa
commit
a921486e2a
@@ -2497,7 +2497,10 @@ anv_image_fill_surface_state(struct anv_device *device,
|
||||
.mocs = anv_mocs(device, state_inout->address.bo,
|
||||
view_usage),
|
||||
.x_offset_sa = tile_x_sa,
|
||||
.y_offset_sa = tile_y_sa);
|
||||
.y_offset_sa = tile_y_sa,
|
||||
.robust_image_access =
|
||||
device->vk.enabled_features.robustImageAccess ||
|
||||
device->vk.enabled_features.robustImageAccess2);
|
||||
|
||||
/* With the exception of gfx8, the bottom 12 bits of the MCS base address
|
||||
* are used to store other information. This should be ok, however,
|
||||
|
||||
@@ -224,6 +224,9 @@ anv_shader_stage_to_nir(struct anv_device *device,
|
||||
|
||||
struct brw_nir_compiler_opts opts = {
|
||||
.softfp64 = device->fp64_nir,
|
||||
.robust_image_access =
|
||||
device->vk.enabled_features.robustImageAccess ||
|
||||
device->vk.enabled_features.robustImageAccess2,
|
||||
};
|
||||
brw_preprocess_nir(compiler, nir, &opts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user