anv: Don't fill lowered_storage_image_param on SKL+
The switch statement in anv_descriptor_data_for_type() shows that this field isn't used on SKL+. On XeHP, this avoids assert failures by preventing isl_surf_fill_image_param() from being called. That function doesn't expect Tile4 surfaces. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14546>
This commit is contained in:
parent
1027655810
commit
fe0a6b9606
|
@ -2671,6 +2671,7 @@ anv_CreateImageView(VkDevice _device,
|
|||
general_aux_usage, NULL,
|
||||
ANV_IMAGE_VIEW_STATE_STORAGE_LOWERED,
|
||||
&iview->planes[vplane].lowered_storage_surface_state,
|
||||
device->info.ver >= 9 ? NULL :
|
||||
&iview->planes[vplane].lowered_storage_image_param);
|
||||
} else {
|
||||
/* In this case, we support the format but, because there's no
|
||||
|
|
Loading…
Reference in New Issue