bolt/deps/llvm-18.1.8/mlir/test/Target/SPIRV/execution-mode.mlir
2025-02-14 19:21:04 +01:00

10 lines
363 B
MLIR

// RUN: mlir-translate -no-implicit-module -test-spirv-roundtrip %s | FileCheck %s
spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
spirv.func @foo() -> () "None" {
spirv.Return
}
spirv.EntryPoint "GLCompute" @foo
// CHECK: spirv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
spirv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
}