KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
460 stars 207 forks source link

Fix image access in link-attribute test #2598

Closed svenvh closed 3 weeks ago

svenvh commented 1 month ago

The test performed a read_image operation on an image declared write_only. spirv-val recently started flagging this.

Update the image access attribute to "read-only" (i.e., 0).

Fixes https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2597