glslang/Test/baseResults/hlsl.deadFunctionMissingBody.vert.out

34 lines
1.5 KiB
Plaintext

hlsl.deadFunctionMissingBody.vert
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 18
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 16
Source HLSL 500
Name 4 "main"
Name 9 "@main("
Name 16 "@entryPointOutput"
Decorate 16(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypeFunction 7(fvec4)
11: 6(float) Constant 0
12: 7(fvec4) ConstantComposite 11 11 11 11
15: TypePointer Output 7(fvec4)
16(@entryPointOutput): 15(ptr) Variable Output
4(main): 2 Function None 3
5: Label
17: 7(fvec4) FunctionCall 9(@main()
Store 16(@entryPointOutput) 17
Return
FunctionEnd
9(@main(): 7(fvec4) Function None 8
10: Label
ReturnValue 12
FunctionEnd