| 1 |
; SPIR-V |
| 2 |
; Version: 1.0 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 3 |
| 4 |
; Bound: 18 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
%1 = OpExtInstImport "GLSL.std.450" |
| 8 |
OpMemoryModel Logical GLSL450 |
| 9 |
OpEntryPoint Vertex %main "main" %_entryPointOutput |
| 10 |
OpSource HLSL 500 |
| 11 |
OpName %main "main" |
| 12 |
OpName %_main_ "@main(" |
| 13 |
OpName %_entryPointOutput "@entryPointOutput" |
| 14 |
OpDecorate %_entryPointOutput Invariant |
| 15 |
OpDecorate %_entryPointOutput BuiltIn Position |
| 16 |
%void = OpTypeVoid |
| 17 |
%3 = OpTypeFunction %void |
| 18 |
%float = OpTypeFloat 32 |
| 19 |
%v4float = OpTypeVector %float 4 |
| 20 |
%8 = OpTypeFunction %v4float |
| 21 |
%float_1 = OpConstant %float 1 |
| 22 |
%12 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 |
| 23 |
%_ptr_Output_v4float = OpTypePointer Output %v4float |
| 24 |
%_entryPointOutput = OpVariable %_ptr_Output_v4float Output |
| 25 |
%main = OpFunction %void None %3 |
| 26 |
%5 = OpLabel |
| 27 |
%17 = OpFunctionCall %v4float %_main_ |
| 28 |
OpStore %_entryPointOutput %17 |
| 29 |
OpReturn |
| 30 |
OpFunctionEnd |
| 31 |
%_main_ = OpFunction %v4float None %8 |
| 32 |
%10 = OpLabel |
| 33 |
OpReturnValue %12 |
| 34 |
OpFunctionEnd |