1 // RUN: mlir-translate -no-implicit-module -test-spirv-roundtrip -split-input-file %s | FileCheck %s
3 // CHECK: spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
4 // CHECK-NEXT: spirv.func @foo() "Inline" {
5 // CHECK-NEXT: spirv.Return
9 spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
10 spirv.func @foo() -> () "Inline" {
18 spirv.module Logical GLSL450 requires #spirv.vce<v1.5, [Shader], []> {
23 // CHECK: [Shader, Float16]
24 spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Float16], []> {
29 // CHECK: [SPV_KHR_float_controls, SPV_KHR_subgroup_vote]
30 spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], [SPV_KHR_float_controls, SPV_KHR_subgroup_vote]> {