glslang/Test/baseResults/spv.intrinsicsSpirvDecorateString.comp.out
2023-12-11 20:03:15 +00:00

40 lines
1.9 KiB
Plaintext

spv.intrinsicsSpirvDecorateString.comp
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 16
Capability Shader
Extension "SPV_GOOGLE_hlsl_functionality1"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 1 1 1
Source GLSL 460
SourceExtension "GL_EXT_spirv_intrinsics"
Name 4 "main"
Name 8 "x"
Name 10 "y"
Decorate 8(x) RelaxedPrecision
DecorateStringGOOGLE 8(x) DecorationHlslSemanticGOOGLE "foobar"
Decorate 10(y) RelaxedPrecision
DecorateStringGOOGLE 10(y) DecorationHlslSemanticGOOGLE "foobar"
Decorate 15 BuiltIn WorkgroupSize
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
9: 6(float) Constant 1056964608
11: 6(float) Constant 1065353216
12: TypeInt 32 0
13: TypeVector 12(int) 3
14: 12(int) Constant 1
15: 13(ivec3) ConstantComposite 14 14 14
4(main): 2 Function None 3
5: Label
8(x): 7(ptr) Variable Function
10(y): 7(ptr) Variable Function
Store 8(x) 9
Store 10(y) 11
Return
FunctionEnd