Skip to content

nouveau/nir: image_samples/size don't have coordinates

Faith Ekstrand requested to merge gfxstrand/mesa:nouveau/fix-image-size into main

Without this, it treats the src[1] as a coordinate (it's actually LOD) and may try to read more than one component. I don't think this usually hurts anything as the coordinate should get ignored later but it can result in OOB memory reads while translating NIR.

Merge request reports