freedreno/fdl: Set swizzle on storage descriptor

It appears to be unused by ldib/stib, but it will let us use isam on IBO
descriptors for bindless images.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15114>
This commit is contained in:
Connor Abbott 2022-02-21 19:12:03 +01:00 committed by Marge Bot
parent 00be8c4619
commit bb1e0eba08

View file

@ -341,6 +341,7 @@ fdl6_view_init(struct fdl6_view *view, const struct fdl_layout **layouts,
view->storage_descriptor[0] =
A6XX_TEX_CONST_0_FMT(storage_format) |
fdl6_texswiz(args, has_z24uint_s8uint) |
A6XX_TEX_CONST_0_TILE_MODE(tile_mode);
view->storage_descriptor[1] = view->descriptor[1];
view->storage_descriptor[2] =