| 1 |
; SPIR-V |
| 2 |
; Version: 1.0 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 7 |
| 4 |
; Bound: 25 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
%1 = OpExtInstImport "GLSL.std.450" |
| 8 |
OpMemoryModel Logical GLSL450 |
| 9 |
OpEntryPoint Fragment %main "main" %FragColors %FragColor |
| 10 |
OpExecutionMode %main OriginUpperLeft |
| 11 |
OpSource GLSL 450 |
| 12 |
OpName %main "main" |
| 13 |
OpName %FragColors "FragColors" |
| 14 |
OpName %FragColor "FragColor" |
| 15 |
OpDecorate %FragColors Location 0 |
| 16 |
OpDecorate %FragColor Location 2 |
| 17 |
%void = OpTypeVoid |
| 18 |
%3 = OpTypeFunction %void |
| 19 |
%float = OpTypeFloat 32 |
| 20 |
%v4float = OpTypeVector %float 4 |
| 21 |
%uint = OpTypeInt 32 0 |
| 22 |
%uint_2 = OpConstant %uint 2 |
| 23 |
%_arr_v4float_uint_2 = OpTypeArray %v4float %uint_2 |
| 24 |
%_ptr_Output__arr_v4float_uint_2 = OpTypePointer Output %_arr_v4float_uint_2 |
| 25 |
%float_1 = OpConstant %float 1 |
| 26 |
%float_2 = OpConstant %float 2 |
| 27 |
%float_3 = OpConstant %float 3 |
| 28 |
%float_4 = OpConstant %float 4 |
| 29 |
%17 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 |
| 30 |
%float_10 = OpConstant %float 10 |
| 31 |
%19 = OpConstantComposite %v4float %float_10 %float_10 %float_10 %float_10 |
| 32 |
%20 = OpConstantComposite %_arr_v4float_uint_2 %17 %19 |
| 33 |
%_ptr_Output_v4float = OpTypePointer Output %v4float |
| 34 |
%float_5 = OpConstant %float 5 |
| 35 |
%24 = OpConstantComposite %v4float %float_5 %float_5 %float_5 %float_5 |
| 36 |
%FragColors = OpVariable %_ptr_Output__arr_v4float_uint_2 Output %20 |
| 37 |
%FragColor = OpVariable %_ptr_Output_v4float Output %24 |
| 38 |
%main = OpFunction %void None %3 |
| 39 |
%5 = OpLabel |
| 40 |
OpReturn |
| 41 |
OpFunctionEnd |