ac, aco: Fix VK_AMD_shader_image_load_store_lod on GFX9.
aco only adds the base layer as third coordinate if the application enabled VK_EXT_image_2d_view_of_3d. ac always sets the dim to 3d, so the load/store will read a random vgpr as lod.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
aco only adds the base layer as third coordinate if the application enabled VK_EXT_image_2d_view_of_3d. ac always sets the dim to 3d, so the load/store will read a random vgpr as lod.