Skip to content

aco, ac/llvm: Fix image instructions with lod when 2d_view_of_3d is enabled on GFX9.

If there's a lod parameter it matter if the image is 3d or 2d because the hw reads either the fourth or third component as lod. So detect 3d images and place the lod at the third component otherwise.

Edited by Georg Lehmann

Merge request reports