[Mlir-commits] [mlir] de7ff1f - [mlir][spirv][nfc] Add StorageImageReadWithoutFormat capability to the Target test (#145949)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jul 7 02:45:39 PDT 2025
Author: Igor Wodiany
Date: 2025-07-07T10:45:36+01:00
New Revision: de7ff1f2248e76c7320b541eb5c082090c47390d
URL: https://github.com/llvm/llvm-project/commit/de7ff1f2248e76c7320b541eb5c082090c47390d
DIFF: https://github.com/llvm/llvm-project/commit/de7ff1f2248e76c7320b541eb5c082090c47390d.diff
LOG: [mlir][spirv][nfc] Add StorageImageReadWithoutFormat capability to the Target test (#145949)
The serialized SPIR-V would not validate as the capability required for
Unknown format in the image read was missing.
Added:
Modified:
mlir/test/Target/SPIRV/image-ops.mlir
Removed:
################################################################################
diff --git a/mlir/test/Target/SPIRV/image-ops.mlir b/mlir/test/Target/SPIRV/image-ops.mlir
index b8d19f0f9a7d1..1ea66af6404dd 100644
--- a/mlir/test/Target/SPIRV/image-ops.mlir
+++ b/mlir/test/Target/SPIRV/image-ops.mlir
@@ -42,7 +42,7 @@ spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, ImageQuery, Link
// -----
-spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, StorageImageWriteWithoutFormat, Linkage], []> {
+spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, StorageImageWriteWithoutFormat, StorageImageReadWithoutFormat, Linkage], []> {
spirv.func @image_read_write(%arg0 : !spirv.image<f32, Dim2D, NoDepth, NonArrayed, SingleSampled, NoSampler, Unknown>, %arg1 : vector<2xsi32>) "None" {
// CHECK: spirv.ImageRead {{%.*}}, {{%.*}} : !spirv.image<f32, Dim2D, NoDepth, NonArrayed, SingleSampled, NoSampler, Unknown>, vector<2xsi32> -> vector<4xf32>
%0 = spirv.ImageRead %arg0, %arg1 : !spirv.image<f32, Dim2D, NoDepth, NonArrayed, SingleSampled, NoSampler, Unknown>, vector<2xsi32> -> vector<4xf32>
More information about the Mlir-commits
mailing list