mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radv: fix a typo in radv_image_view_make_descriptor
Only GFX8 and before have legacy_surf_level. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25964>
This commit is contained in:
parent
07f575a8a6
commit
035cf7ab97
1 changed files with 1 additions and 1 deletions
|
|
@ -2056,7 +2056,7 @@ radv_image_view_make_descriptor(struct radv_image_view *iview, struct radv_devic
|
|||
img_create_flags, nbc_view, sliced_3d);
|
||||
|
||||
const struct legacy_surf_level *base_level_info = NULL;
|
||||
if (device->physical_device->rad_info.gfx_level <= GFX9) {
|
||||
if (device->physical_device->rad_info.gfx_level <= GFX8) {
|
||||
if (is_stencil)
|
||||
base_level_info = &plane->surface.u.legacy.zs.stencil_level[iview->vk.base_mip_level];
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue