[Mlir-commits] [mlir] [mlir][spirv]: Add `OpImageFetch` (PR #145873)

Jack Frankland llvmlistbot at llvm.org
Mon Jun 30 01:52:49 PDT 2025


================
@@ -51,3 +51,13 @@ spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, StorageImageWrit
     spirv.Return
   }
 }
+
+// -----
+
+spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, StorageImageWriteWithoutFormat, Linkage], []> {
+  spirv.func @image_fetch(%arg0 : !spirv.image<f32, Dim2D, NoDepth, NonArrayed, SingleSampled, NeedSampler, Unknown>, %arg1 : vector<2xsi32>) "None" {
----------------
FranklandJack wrote:

Ah yep, sorry, done!

https://github.com/llvm/llvm-project/pull/145873


More information about the Mlir-commits mailing list