| 1 |
; SPIR-V |
| 2 |
; Version: 1.0 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 1 |
| 4 |
; Bound: 45 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
%1 = OpExtInstImport "GLSL.std.450" |
| 8 |
OpMemoryModel Logical GLSL450 |
| 9 |
OpEntryPoint Fragment %main "main" %FragColor |
| 10 |
OpExecutionMode %main OriginUpperLeft |
| 11 |
OpSource ESSL 310 |
| 12 |
OpName %main "main" |
| 13 |
OpName %a "a" |
| 14 |
OpName %b "b" |
| 15 |
OpName %c "c" |
| 16 |
OpName %D "D" |
| 17 |
OpMemberName %D 0 "a" |
| 18 |
OpMemberName %D 1 "b" |
| 19 |
OpName %d "d" |
| 20 |
OpName %e "e" |
| 21 |
OpName %FragColor "FragColor" |
| 22 |
OpDecorate %a RelaxedPrecision |
| 23 |
OpDecorate %b RelaxedPrecision |
| 24 |
OpDecorate %c RelaxedPrecision |
| 25 |
OpMemberDecorate %D 0 RelaxedPrecision |
| 26 |
OpMemberDecorate %D 1 RelaxedPrecision |
| 27 |
OpDecorate %e RelaxedPrecision |
| 28 |
OpDecorate %FragColor RelaxedPrecision |
| 29 |
OpDecorate %FragColor Location 0 |
| 30 |
OpDecorate %44 RelaxedPrecision |
| 31 |
OpDecorate %float_1 RelaxedPrecision |
| 32 |
OpDecorate %14 RelaxedPrecision |
| 33 |
OpDecorate %23 RelaxedPrecision |
| 34 |
OpDecorate %41 RelaxedPrecision |
| 35 |
%void = OpTypeVoid |
| 36 |
%3 = OpTypeFunction %void |
| 37 |
%float = OpTypeFloat 32 |
| 38 |
%_ptr_Function_float = OpTypePointer Function %float |
| 39 |
%float_1 = OpConstantNull %float |
| 40 |
%v4float = OpTypeVector %float 4 |
| 41 |
%_ptr_Function_v4float = OpTypePointer Function %v4float |
| 42 |
%float_2 = OpConstantNull %float |
| 43 |
%14 = OpConstantNull %v4float |
| 44 |
%v3float = OpTypeVector %float 3 |
| 45 |
%mat2v3float = OpTypeMatrix %v3float 2 |
| 46 |
%_ptr_Function_mat2v3float = OpTypePointer Function %mat2v3float |
| 47 |
%float_4 = OpConstantNull %float |
| 48 |
%20 = OpConstantNull %v3float |
| 49 |
%float_5 = OpConstantNull %float |
| 50 |
%22 = OpConstantNull %v3float |
| 51 |
%23 = OpConstantNull %mat2v3float |
| 52 |
%D = OpTypeStruct %v4float %float |
| 53 |
%_ptr_Function_D = OpTypePointer Function %D |
| 54 |
%27 = OpConstantNull %D |
| 55 |
%uint = OpTypeInt 32 0 |
| 56 |
%uint_4 = OpConstant %uint 4 |
| 57 |
%_arr_v4float_uint_4 = OpTypeArray %v4float %uint_4 |
| 58 |
%_ptr_Function__arr_v4float_uint_4 = OpTypePointer Function %_arr_v4float_uint_4 |
| 59 |
%float_10 = OpConstantNull %float |
| 60 |
%34 = OpConstantNull %v4float |
| 61 |
%float_11 = OpConstantNull %float |
| 62 |
%36 = OpConstantNull %v4float |
| 63 |
%float_12 = OpConstantNull %float |
| 64 |
%38 = OpConstantNull %v4float |
| 65 |
%float_13 = OpConstantNull %float |
| 66 |
%40 = OpConstantNull %v4float |
| 67 |
%41 = OpConstantNull %_arr_v4float_uint_4 |
| 68 |
%_ptr_Output_float = OpTypePointer Output %float |
| 69 |
%FragColor = OpVariable %_ptr_Output_float Output |
| 70 |
%main = OpFunction %void None %3 |
| 71 |
%5 = OpLabel |
| 72 |
%a = OpVariable %_ptr_Function_float Function |
| 73 |
%b = OpVariable %_ptr_Function_v4float Function |
| 74 |
%c = OpVariable %_ptr_Function_mat2v3float Function |
| 75 |
%d = OpVariable %_ptr_Function_D Function |
| 76 |
%e = OpVariable %_ptr_Function__arr_v4float_uint_4 Function |
| 77 |
OpStore %a %float_1 |
| 78 |
OpStore %b %14 |
| 79 |
OpStore %c %23 |
| 80 |
OpStore %d %27 |
| 81 |
OpStore %e %41 |
| 82 |
%44 = OpLoad %float %a |
| 83 |
OpStore %FragColor %44 |
| 84 |
OpReturn |
| 85 |
OpFunctionEnd |