| 1 |
; SPIR-V |
| 2 |
; Version: 1.0 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 3 |
| 4 |
; Bound: 20 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
%1 = OpExtInstImport "GLSL.std.450" |
| 8 |
OpMemoryModel Logical GLSL450 |
| 9 |
OpEntryPoint Vertex %main "main" %_ |
| 10 |
OpSource GLSL 450 |
| 11 |
OpName %main "main" |
| 12 |
OpName %gl_PerVertex "gl_PerVertex" |
| 13 |
OpMemberName %gl_PerVertex 0 "gl_Position" |
| 14 |
OpMemberName %gl_PerVertex 1 "gl_PointSize" |
| 15 |
OpMemberName %gl_PerVertex 2 "gl_ClipDistance" |
| 16 |
OpMemberName %gl_PerVertex 3 "gl_CullDistance" |
| 17 |
OpName %_ "" |
| 18 |
OpMemberDecorate %gl_PerVertex 0 Invariant |
| 19 |
OpMemberDecorate %gl_PerVertex 0 BuiltIn Position |
| 20 |
OpMemberDecorate %gl_PerVertex 1 BuiltIn PointSize |
| 21 |
OpMemberDecorate %gl_PerVertex 2 BuiltIn ClipDistance |
| 22 |
OpMemberDecorate %gl_PerVertex 3 BuiltIn CullDistance |
| 23 |
OpDecorate %gl_PerVertex Block |
| 24 |
%void = OpTypeVoid |
| 25 |
%3 = OpTypeFunction %void |
| 26 |
%float = OpTypeFloat 32 |
| 27 |
%v4float = OpTypeVector %float 4 |
| 28 |
%uint = OpTypeInt 32 0 |
| 29 |
%uint_1 = OpConstant %uint 1 |
| 30 |
%_arr_float_uint_1 = OpTypeArray %float %uint_1 |
| 31 |
%gl_PerVertex = OpTypeStruct %v4float %float %_arr_float_uint_1 %_arr_float_uint_1 |
| 32 |
%_ptr_Output_gl_PerVertex = OpTypePointer Output %gl_PerVertex |
| 33 |
%_ = OpVariable %_ptr_Output_gl_PerVertex Output |
| 34 |
%int = OpTypeInt 32 1 |
| 35 |
%int_0 = OpConstant %int 0 |
| 36 |
%float_1 = OpConstant %float 1 |
| 37 |
%17 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 |
| 38 |
%_ptr_Output_v4float = OpTypePointer Output %v4float |
| 39 |
%main = OpFunction %void None %3 |
| 40 |
%5 = OpLabel |
| 41 |
%19 = OpAccessChain %_ptr_Output_v4float %_ %int_0 |
| 42 |
OpStore %19 %17 |
| 43 |
OpReturn |
| 44 |
OpFunctionEnd |