1 hlsl.intrinsics.negative.comp 2 Shader version: 500 3 local_size = (1, 1, 1) 4 0:? Sequence 5 0:2 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; ( temp float) 6 0:2 Function Parameters: 7 0:2 'inF0' ( in float) 8 0:2 'inF1' ( in float) 9 0:2 'inF2' ( in float) 10 0:2 'inI0' ( in int) 11 0:? Sequence 12 0:53 Branch: Return with expression 13 0:53 Constant: 14 0:53 0.000000 15 0:57 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; ( temp 1-component vector of float) 16 0:57 Function Parameters: 17 0:57 'inF0' ( in 1-component vector of float) 18 0:57 'inF1' ( in 1-component vector of float) 19 0:57 'inF2' ( in 1-component vector of float) 20 0:57 'inI0' ( in 1-component vector of int) 21 0:? Sequence 22 0:62 Branch: Return with expression 23 0:62 Constant: 24 0:62 0.000000 25 0:66 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; ( temp 2-component vector of float) 26 0:66 Function Parameters: 27 0:66 'inF0' ( in 2-component vector of float) 28 0:66 'inF1' ( in 2-component vector of float) 29 0:66 'inF2' ( in 2-component vector of float) 30 0:66 'inI0' ( in 2-component vector of int) 31 0:? Sequence 32 0:109 Branch: Return with expression 33 0:? Constant: 34 0:? 1.000000 35 0:? 2.000000 36 0:113 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; ( temp 3-component vector of float) 37 0:113 Function Parameters: 38 0:113 'inF0' ( in 3-component vector of float) 39 0:113 'inF1' ( in 3-component vector of float) 40 0:113 'inF2' ( in 3-component vector of float) 41 0:113 'inI0' ( in 3-component vector of int) 42 0:? Sequence 43 0:154 Branch: Return with expression 44 0:? Constant: 45 0:? 1.000000 46 0:? 2.000000 47 0:? 3.000000 48 0:158 Function Definition: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float) 49 0:158 Function Parameters: 50 0:158 'inF0' ( in 4-component vector of float) 51 0:158 'inF1' ( in 4-component vector of float) 52 0:158 'inF2' ( in 4-component vector of float) 53 0:158 'inI0' ( in 4-component vector of int) 54 0:? Sequence 55 0:199 Branch: Return with expression 56 0:? Constant: 57 0:? 1.000000 58 0:? 2.000000 59 0:? 3.000000 60 0:? 4.000000 61 0:158 Function Definition: ComputeShaderFunction( ( temp void) 62 0:158 Function Parameters: 63 0:? Sequence 64 0:158 move second child to first child ( temp 4-component vector of float) 65 0:? 'inF0' ( temp 4-component vector of float) 66 0:? 'inF0' (layout( location=0) in 4-component vector of float) 67 0:158 move second child to first child ( temp 4-component vector of float) 68 0:? 'inF1' ( temp 4-component vector of float) 69 0:? 'inF1' (layout( location=1) in 4-component vector of float) 70 0:158 move second child to first child ( temp 4-component vector of float) 71 0:? 'inF2' ( temp 4-component vector of float) 72 0:? 'inF2' (layout( location=2) in 4-component vector of float) 73 0:158 move second child to first child ( temp 4-component vector of int) 74 0:? 'inI0' ( temp 4-component vector of int) 75 0:? 'inI0' (layout( location=3) in 4-component vector of int) 76 0:158 move second child to first child ( temp 4-component vector of float) 77 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 78 0:158 Function Call: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float) 79 0:? 'inF0' ( temp 4-component vector of float) 80 0:? 'inF1' ( temp 4-component vector of float) 81 0:? 'inF2' ( temp 4-component vector of float) 82 0:? 'inI0' ( temp 4-component vector of int) 83 0:? Linker Objects 84 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 85 0:? 'inF0' (layout( location=0) in 4-component vector of float) 86 0:? 'inF1' (layout( location=1) in 4-component vector of float) 87 0:? 'inF2' (layout( location=2) in 4-component vector of float) 88 0:? 'inI0' (layout( location=3) in 4-component vector of int) 89 90 91 Linked compute stage: 92 93 94 Shader version: 500 95 local_size = (1, 1, 1) 96 0:? Sequence 97 0:2 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; ( temp float) 98 0:2 Function Parameters: 99 0:2 'inF0' ( in float) 100 0:2 'inF1' ( in float) 101 0:2 'inF2' ( in float) 102 0:2 'inI0' ( in int) 103 0:? Sequence 104 0:53 Branch: Return with expression 105 0:53 Constant: 106 0:53 0.000000 107 0:57 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; ( temp 1-component vector of float) 108 0:57 Function Parameters: 109 0:57 'inF0' ( in 1-component vector of float) 110 0:57 'inF1' ( in 1-component vector of float) 111 0:57 'inF2' ( in 1-component vector of float) 112 0:57 'inI0' ( in 1-component vector of int) 113 0:? Sequence 114 0:62 Branch: Return with expression 115 0:62 Constant: 116 0:62 0.000000 117 0:66 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; ( temp 2-component vector of float) 118 0:66 Function Parameters: 119 0:66 'inF0' ( in 2-component vector of float) 120 0:66 'inF1' ( in 2-component vector of float) 121 0:66 'inF2' ( in 2-component vector of float) 122 0:66 'inI0' ( in 2-component vector of int) 123 0:? Sequence 124 0:109 Branch: Return with expression 125 0:? Constant: 126 0:? 1.000000 127 0:? 2.000000 128 0:113 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; ( temp 3-component vector of float) 129 0:113 Function Parameters: 130 0:113 'inF0' ( in 3-component vector of float) 131 0:113 'inF1' ( in 3-component vector of float) 132 0:113 'inF2' ( in 3-component vector of float) 133 0:113 'inI0' ( in 3-component vector of int) 134 0:? Sequence 135 0:154 Branch: Return with expression 136 0:? Constant: 137 0:? 1.000000 138 0:? 2.000000 139 0:? 3.000000 140 0:158 Function Definition: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float) 141 0:158 Function Parameters: 142 0:158 'inF0' ( in 4-component vector of float) 143 0:158 'inF1' ( in 4-component vector of float) 144 0:158 'inF2' ( in 4-component vector of float) 145 0:158 'inI0' ( in 4-component vector of int) 146 0:? Sequence 147 0:199 Branch: Return with expression 148 0:? Constant: 149 0:? 1.000000 150 0:? 2.000000 151 0:? 3.000000 152 0:? 4.000000 153 0:158 Function Definition: ComputeShaderFunction( ( temp void) 154 0:158 Function Parameters: 155 0:? Sequence 156 0:158 move second child to first child ( temp 4-component vector of float) 157 0:? 'inF0' ( temp 4-component vector of float) 158 0:? 'inF0' (layout( location=0) in 4-component vector of float) 159 0:158 move second child to first child ( temp 4-component vector of float) 160 0:? 'inF1' ( temp 4-component vector of float) 161 0:? 'inF1' (layout( location=1) in 4-component vector of float) 162 0:158 move second child to first child ( temp 4-component vector of float) 163 0:? 'inF2' ( temp 4-component vector of float) 164 0:? 'inF2' (layout( location=2) in 4-component vector of float) 165 0:158 move second child to first child ( temp 4-component vector of int) 166 0:? 'inI0' ( temp 4-component vector of int) 167 0:? 'inI0' (layout( location=3) in 4-component vector of int) 168 0:158 move second child to first child ( temp 4-component vector of float) 169 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 170 0:158 Function Call: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float) 171 0:? 'inF0' ( temp 4-component vector of float) 172 0:? 'inF1' ( temp 4-component vector of float) 173 0:? 'inF2' ( temp 4-component vector of float) 174 0:? 'inI0' ( temp 4-component vector of int) 175 0:? Linker Objects 176 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 177 0:? 'inF0' (layout( location=0) in 4-component vector of float) 178 0:? 'inF1' (layout( location=1) in 4-component vector of float) 179 0:? 'inF2' (layout( location=2) in 4-component vector of float) 180 0:? 'inI0' (layout( location=3) in 4-component vector of int) 181 182 // Module Version 10000 183 // Generated by (magic number): 80007 184 // Id's are bound by 99 185 186 Capability Shader 187 1: ExtInstImport "GLSL.std.450" 188 MemoryModel Logical GLSL450 189 EntryPoint GLCompute 4 "ComputeShaderFunction" 76 79 82 86 89 190 ExecutionMode 4 LocalSize 1 1 1 191 Source HLSL 500 192 Name 4 "ComputeShaderFunction" 193 Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;" 194 Name 11 "inF0" 195 Name 12 "inF1" 196 Name 13 "inF2" 197 Name 14 "inI0" 198 Name 21 "ComputeShaderFunction1(vf1;vf1;vf1;vi1;" 199 Name 17 "inF0" 200 Name 18 "inF1" 201 Name 19 "inF2" 202 Name 20 "inI0" 203 Name 32 "ComputeShaderFunction2(vf2;vf2;vf2;vi2;" 204 Name 28 "inF0" 205 Name 29 "inF1" 206 Name 30 "inF2" 207 Name 31 "inI0" 208 Name 43 "ComputeShaderFunction3(vf3;vf3;vf3;vi3;" 209 Name 39 "inF0" 210 Name 40 "inF1" 211 Name 41 "inF2" 212 Name 42 "inI0" 213 Name 54 "@ComputeShaderFunction(vf4;vf4;vf4;vi4;" 214 Name 50 "inF0" 215 Name 51 "inF1" 216 Name 52 "inF2" 217 Name 53 "inI0" 218 Name 74 "inF0" 219 Name 76 "inF0" 220 Name 78 "inF1" 221 Name 79 "inF1" 222 Name 81 "inF2" 223 Name 82 "inF2" 224 Name 84 "inI0" 225 Name 86 "inI0" 226 Name 89 "@entryPointOutput" 227 Name 90 "param" 228 Name 92 "param" 229 Name 94 "param" 230 Name 96 "param" 231 Decorate 76(inF0) Location 0 232 Decorate 79(inF1) Location 1 233 Decorate 82(inF2) Location 2 234 Decorate 86(inI0) Location 3 235 Decorate 89(@entryPointOutput) Location 0 236 2: TypeVoid 237 3: TypeFunction 2 238 6: TypeFloat 32 239 7: TypePointer Function 6(float) 240 8: TypeInt 32 1 241 9: TypePointer Function 8(int) 242 10: TypeFunction 6(float) 7(ptr) 7(ptr) 7(ptr) 9(ptr) 243 23: TypeVector 6(float) 2 244 24: TypePointer Function 23(fvec2) 245 25: TypeVector 8(int) 2 246 26: TypePointer Function 25(ivec2) 247 27: TypeFunction 23(fvec2) 24(ptr) 24(ptr) 24(ptr) 26(ptr) 248 34: TypeVector 6(float) 3 249 35: TypePointer Function 34(fvec3) 250 36: TypeVector 8(int) 3 251 37: TypePointer Function 36(ivec3) 252 38: TypeFunction 34(fvec3) 35(ptr) 35(ptr) 35(ptr) 37(ptr) 253 45: TypeVector 6(float) 4 254 46: TypePointer Function 45(fvec4) 255 47: TypeVector 8(int) 4 256 48: TypePointer Function 47(ivec4) 257 49: TypeFunction 45(fvec4) 46(ptr) 46(ptr) 46(ptr) 48(ptr) 258 56: 6(float) Constant 0 259 61: 6(float) Constant 1065353216 260 62: 6(float) Constant 1073741824 261 63: 23(fvec2) ConstantComposite 61 62 262 66: 6(float) Constant 1077936128 263 67: 34(fvec3) ConstantComposite 61 62 66 264 70: 6(float) Constant 1082130432 265 71: 45(fvec4) ConstantComposite 61 62 66 70 266 75: TypePointer Input 45(fvec4) 267 76(inF0): 75(ptr) Variable Input 268 79(inF1): 75(ptr) Variable Input 269 82(inF2): 75(ptr) Variable Input 270 85: TypePointer Input 47(ivec4) 271 86(inI0): 85(ptr) Variable Input 272 88: TypePointer Output 45(fvec4) 273 89(@entryPointOutput): 88(ptr) Variable Output 274 4(ComputeShaderFunction): 2 Function None 3 275 5: Label 276 74(inF0): 46(ptr) Variable Function 277 78(inF1): 46(ptr) Variable Function 278 81(inF2): 46(ptr) Variable Function 279 84(inI0): 48(ptr) Variable Function 280 90(param): 46(ptr) Variable Function 281 92(param): 46(ptr) Variable Function 282 94(param): 46(ptr) Variable Function 283 96(param): 48(ptr) Variable Function 284 77: 45(fvec4) Load 76(inF0) 285 Store 74(inF0) 77 286 80: 45(fvec4) Load 79(inF1) 287 Store 78(inF1) 80 288 83: 45(fvec4) Load 82(inF2) 289 Store 81(inF2) 83 290 87: 47(ivec4) Load 86(inI0) 291 Store 84(inI0) 87 292 91: 45(fvec4) Load 74(inF0) 293 Store 90(param) 91 294 93: 45(fvec4) Load 78(inF1) 295 Store 92(param) 93 296 95: 45(fvec4) Load 81(inF2) 297 Store 94(param) 95 298 97: 47(ivec4) Load 84(inI0) 299 Store 96(param) 97 300 98: 45(fvec4) FunctionCall 54(@ComputeShaderFunction(vf4;vf4;vf4;vi4;) 90(param) 92(param) 94(param) 96(param) 301 Store 89(@entryPointOutput) 98 302 Return 303 FunctionEnd 304 15(ComputeShaderFunctionS(f1;f1;f1;i1;): 6(float) Function None 10 305 11(inF0): 7(ptr) FunctionParameter 306 12(inF1): 7(ptr) FunctionParameter 307 13(inF2): 7(ptr) FunctionParameter 308 14(inI0): 9(ptr) FunctionParameter 309 16: Label 310 ReturnValue 56 311 FunctionEnd 312 21(ComputeShaderFunction1(vf1;vf1;vf1;vi1;): 6(float) Function None 10 313 17(inF0): 7(ptr) FunctionParameter 314 18(inF1): 7(ptr) FunctionParameter 315 19(inF2): 7(ptr) FunctionParameter 316 20(inI0): 9(ptr) FunctionParameter 317 22: Label 318 ReturnValue 56 319 FunctionEnd 320 32(ComputeShaderFunction2(vf2;vf2;vf2;vi2;): 23(fvec2) Function None 27 321 28(inF0): 24(ptr) FunctionParameter 322 29(inF1): 24(ptr) FunctionParameter 323 30(inF2): 24(ptr) FunctionParameter 324 31(inI0): 26(ptr) FunctionParameter 325 33: Label 326 ReturnValue 63 327 FunctionEnd 328 43(ComputeShaderFunction3(vf3;vf3;vf3;vi3;): 34(fvec3) Function None 38 329 39(inF0): 35(ptr) FunctionParameter 330 40(inF1): 35(ptr) FunctionParameter 331 41(inF2): 35(ptr) FunctionParameter 332 42(inI0): 37(ptr) FunctionParameter 333 44: Label 334 ReturnValue 67 335 FunctionEnd 336 54(@ComputeShaderFunction(vf4;vf4;vf4;vi4;): 45(fvec4) Function None 49 337 50(inF0): 46(ptr) FunctionParameter 338 51(inF1): 46(ptr) FunctionParameter 339 52(inF2): 46(ptr) FunctionParameter 340 53(inI0): 48(ptr) FunctionParameter 341 55: Label 342 ReturnValue 71 343 FunctionEnd 344