| 1 |
; SPIR-V |
| 2 |
; Version: 1.3 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 7 |
| 4 |
; Bound: 122 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
%1 = OpExtInstImport "GLSL.std.450" |
| 8 |
OpMemoryModel Logical GLSL450 |
| 9 |
OpEntryPoint Fragment %main "main" %c %d %e %f %g %h %FragColor |
| 10 |
OpExecutionMode %main OriginUpperLeft |
| 11 |
OpSource GLSL 460 |
| 12 |
OpName %main "main" |
| 13 |
OpName %t0 "t0" |
| 14 |
OpName %a "a" |
| 15 |
OpName %t1 "t1" |
| 16 |
OpName %b "b" |
| 17 |
OpName %c1 "c1" |
| 18 |
OpName %c2 "c2" |
| 19 |
OpName %c3 "c3" |
| 20 |
OpName %c4 "c4" |
| 21 |
OpName %c5 "c5" |
| 22 |
OpName %c6 "c6" |
| 23 |
OpName %c7 "c7" |
| 24 |
OpName %c "c" |
| 25 |
OpName %d "d" |
| 26 |
OpName %c8 "c8" |
| 27 |
OpName %c9 "c9" |
| 28 |
OpName %c10 "c10" |
| 29 |
OpName %c11 "c11" |
| 30 |
OpName %c12 "c12" |
| 31 |
OpName %c13 "c13" |
| 32 |
OpName %e "e" |
| 33 |
OpName %f "f" |
| 34 |
OpName %c14 "c14" |
| 35 |
OpName %c15 "c15" |
| 36 |
OpName %c16 "c16" |
| 37 |
OpName %c17 "c17" |
| 38 |
OpName %c18 "c18" |
| 39 |
OpName %c19 "c19" |
| 40 |
OpName %g "g" |
| 41 |
OpName %h "h" |
| 42 |
OpName %c20 "c20" |
| 43 |
OpName %c21 "c21" |
| 44 |
OpName %c22 "c22" |
| 45 |
OpName %c23 "c23" |
| 46 |
OpName %c24 "c24" |
| 47 |
OpName %FragColor "FragColor" |
| 48 |
OpDecorate %a SpecId 1 |
| 49 |
OpDecorate %b SpecId 2 |
| 50 |
OpDecorate %c Location 2 |
| 51 |
OpDecorate %d Location 3 |
| 52 |
OpDecorate %e Location 4 |
| 53 |
OpDecorate %f Location 5 |
| 54 |
OpDecorate %g Location 6 |
| 55 |
OpDecorate %h Location 7 |
| 56 |
OpDecorate %FragColor Location 0 |
| 57 |
%void = OpTypeVoid |
| 58 |
%3 = OpTypeFunction %void |
| 59 |
%float = OpTypeFloat 32 |
| 60 |
%_ptr_Function_float = OpTypePointer Function %float |
| 61 |
%a = OpSpecConstant %float 1 |
| 62 |
%b = OpSpecConstant %float 2 |
| 63 |
%bool = OpTypeBool |
| 64 |
%_ptr_Function_bool = OpTypePointer Function %bool |
| 65 |
%v2bool = OpTypeVector %bool 2 |
| 66 |
%_ptr_Function_v2bool = OpTypePointer Function %v2bool |
| 67 |
%v2float = OpTypeVector %float 2 |
| 68 |
%_ptr_Input_v2float = OpTypePointer Input %v2float |
| 69 |
%c = OpVariable %_ptr_Input_v2float Input |
| 70 |
%d = OpVariable %_ptr_Input_v2float Input |
| 71 |
%v3bool = OpTypeVector %bool 3 |
| 72 |
%_ptr_Function_v3bool = OpTypePointer Function %v3bool |
| 73 |
%v3float = OpTypeVector %float 3 |
| 74 |
%_ptr_Input_v3float = OpTypePointer Input %v3float |
| 75 |
%e = OpVariable %_ptr_Input_v3float Input |
| 76 |
%f = OpVariable %_ptr_Input_v3float Input |
| 77 |
%v4bool = OpTypeVector %bool 4 |
| 78 |
%_ptr_Function_v4bool = OpTypePointer Function %v4bool |
| 79 |
%v4float = OpTypeVector %float 4 |
| 80 |
%_ptr_Input_v4float = OpTypePointer Input %v4float |
| 81 |
%g = OpVariable %_ptr_Input_v4float Input |
| 82 |
%h = OpVariable %_ptr_Input_v4float Input |
| 83 |
%_ptr_Output_v4float = OpTypePointer Output %v4float |
| 84 |
%FragColor = OpVariable %_ptr_Output_v4float Output |
| 85 |
%main = OpFunction %void None %3 |
| 86 |
%5 = OpLabel |
| 87 |
%t0 = OpVariable %_ptr_Function_float Function |
| 88 |
%t1 = OpVariable %_ptr_Function_float Function |
| 89 |
%c1 = OpVariable %_ptr_Function_bool Function |
| 90 |
%c2 = OpVariable %_ptr_Function_bool Function |
| 91 |
%c3 = OpVariable %_ptr_Function_bool Function |
| 92 |
%c4 = OpVariable %_ptr_Function_bool Function |
| 93 |
%c5 = OpVariable %_ptr_Function_bool Function |
| 94 |
%c6 = OpVariable %_ptr_Function_bool Function |
| 95 |
%c7 = OpVariable %_ptr_Function_v2bool Function |
| 96 |
%c8 = OpVariable %_ptr_Function_v2bool Function |
| 97 |
%c9 = OpVariable %_ptr_Function_v2bool Function |
| 98 |
%c10 = OpVariable %_ptr_Function_v2bool Function |
| 99 |
%c11 = OpVariable %_ptr_Function_v2bool Function |
| 100 |
%c12 = OpVariable %_ptr_Function_v2bool Function |
| 101 |
%c13 = OpVariable %_ptr_Function_v3bool Function |
| 102 |
%c14 = OpVariable %_ptr_Function_v3bool Function |
| 103 |
%c15 = OpVariable %_ptr_Function_v3bool Function |
| 104 |
%c16 = OpVariable %_ptr_Function_v3bool Function |
| 105 |
%c17 = OpVariable %_ptr_Function_v3bool Function |
| 106 |
%c18 = OpVariable %_ptr_Function_v3bool Function |
| 107 |
%c19 = OpVariable %_ptr_Function_v4bool Function |
| 108 |
%c20 = OpVariable %_ptr_Function_v4bool Function |
| 109 |
%c21 = OpVariable %_ptr_Function_v4bool Function |
| 110 |
%c22 = OpVariable %_ptr_Function_v4bool Function |
| 111 |
%c23 = OpVariable %_ptr_Function_v4bool Function |
| 112 |
%c24 = OpVariable %_ptr_Function_v4bool Function |
| 113 |
OpStore %t0 %a |
| 114 |
OpStore %t1 %b |
| 115 |
%15 = OpFUnordEqual %bool %a %b |
| 116 |
OpStore %c1 %15 |
| 117 |
%17 = OpFUnordNotEqual %bool %a %b |
| 118 |
OpStore %c2 %17 |
| 119 |
%19 = OpFUnordLessThan %bool %a %b |
| 120 |
OpStore %c3 %19 |
| 121 |
%21 = OpFUnordGreaterThan %bool %a %b |
| 122 |
OpStore %c4 %21 |
| 123 |
%23 = OpFUnordLessThanEqual %bool %a %b |
| 124 |
OpStore %c5 %23 |
| 125 |
%25 = OpFUnordGreaterThanEqual %bool %a %b |
| 126 |
OpStore %c6 %25 |
| 127 |
%32 = OpLoad %v2float %c |
| 128 |
%34 = OpLoad %v2float %d |
| 129 |
%35 = OpFUnordEqual %v2bool %32 %34 |
| 130 |
OpStore %c7 %35 |
| 131 |
%37 = OpLoad %v2float %c |
| 132 |
%38 = OpLoad %v2float %d |
| 133 |
%39 = OpFUnordNotEqual %v2bool %37 %38 |
| 134 |
OpStore %c8 %39 |
| 135 |
%41 = OpLoad %v2float %c |
| 136 |
%42 = OpLoad %v2float %d |
| 137 |
%43 = OpFUnordLessThan %v2bool %41 %42 |
| 138 |
OpStore %c9 %43 |
| 139 |
%45 = OpLoad %v2float %c |
| 140 |
%46 = OpLoad %v2float %d |
| 141 |
%47 = OpFUnordGreaterThan %v2bool %45 %46 |
| 142 |
OpStore %c10 %47 |
| 143 |
%49 = OpLoad %v2float %c |
| 144 |
%50 = OpLoad %v2float %d |
| 145 |
%51 = OpFUnordLessThanEqual %v2bool %49 %50 |
| 146 |
OpStore %c11 %51 |
| 147 |
%53 = OpLoad %v2float %c |
| 148 |
%54 = OpLoad %v2float %d |
| 149 |
%55 = OpFUnordGreaterThanEqual %v2bool %53 %54 |
| 150 |
OpStore %c12 %55 |
| 151 |
%62 = OpLoad %v3float %e |
| 152 |
%64 = OpLoad %v3float %f |
| 153 |
%65 = OpFUnordEqual %v3bool %62 %64 |
| 154 |
OpStore %c13 %65 |
| 155 |
%67 = OpLoad %v3float %e |
| 156 |
%68 = OpLoad %v3float %f |
| 157 |
%69 = OpFUnordNotEqual %v3bool %67 %68 |
| 158 |
OpStore %c14 %69 |
| 159 |
%71 = OpLoad %v3float %e |
| 160 |
%72 = OpLoad %v3float %f |
| 161 |
%73 = OpFUnordLessThan %v3bool %71 %72 |
| 162 |
OpStore %c15 %73 |
| 163 |
%75 = OpLoad %v3float %e |
| 164 |
%76 = OpLoad %v3float %f |
| 165 |
%77 = OpFUnordGreaterThan %v3bool %75 %76 |
| 166 |
OpStore %c16 %77 |
| 167 |
%79 = OpLoad %v3float %e |
| 168 |
%80 = OpLoad %v3float %f |
| 169 |
%81 = OpFUnordLessThanEqual %v3bool %79 %80 |
| 170 |
OpStore %c17 %81 |
| 171 |
%83 = OpLoad %v3float %e |
| 172 |
%84 = OpLoad %v3float %f |
| 173 |
%85 = OpFUnordGreaterThanEqual %v3bool %83 %84 |
| 174 |
OpStore %c18 %85 |
| 175 |
%92 = OpLoad %v4float %g |
| 176 |
%94 = OpLoad %v4float %h |
| 177 |
%95 = OpFUnordEqual %v4bool %92 %94 |
| 178 |
OpStore %c19 %95 |
| 179 |
%97 = OpLoad %v4float %g |
| 180 |
%98 = OpLoad %v4float %h |
| 181 |
%99 = OpFUnordNotEqual %v4bool %97 %98 |
| 182 |
OpStore %c20 %99 |
| 183 |
%101 = OpLoad %v4float %g |
| 184 |
%102 = OpLoad %v4float %h |
| 185 |
%103 = OpFUnordLessThan %v4bool %101 %102 |
| 186 |
OpStore %c21 %103 |
| 187 |
%105 = OpLoad %v4float %g |
| 188 |
%106 = OpLoad %v4float %h |
| 189 |
%107 = OpFUnordGreaterThan %v4bool %105 %106 |
| 190 |
OpStore %c22 %107 |
| 191 |
%109 = OpLoad %v4float %g |
| 192 |
%110 = OpLoad %v4float %h |
| 193 |
%111 = OpFUnordLessThanEqual %v4bool %109 %110 |
| 194 |
OpStore %c23 %111 |
| 195 |
%113 = OpLoad %v4float %g |
| 196 |
%114 = OpLoad %v4float %h |
| 197 |
%115 = OpFUnordGreaterThanEqual %v4bool %113 %114 |
| 198 |
OpStore %c24 %115 |
| 199 |
%118 = OpLoad %float %t0 |
| 200 |
%119 = OpLoad %float %t1 |
| 201 |
%120 = OpFAdd %float %118 %119 |
| 202 |
%121 = OpCompositeConstruct %v4float %120 %120 %120 %120 |
| 203 |
OpStore %FragColor %121 |
| 204 |
OpReturn |
| 205 |
OpFunctionEnd |