mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
103 lines
3.5 KiB
Plaintext
Executable File
103 lines
3.5 KiB
Plaintext
Executable File
hlsl.precedence2.frag
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (global int)
|
|
0:7 Function Parameters:
|
|
0:7 'a1' (in int)
|
|
0:7 'a2' (in int)
|
|
0:7 'a3' (in int)
|
|
0:7 'a4' (in int)
|
|
0:? Sequence
|
|
0:8 Branch: Return with expression
|
|
0:8 add (temp int)
|
|
0:8 left-shift (temp int)
|
|
0:8 add (temp int)
|
|
0:8 component-wise multiply (temp int)
|
|
0:8 'a1' (in int)
|
|
0:8 'a2' (in int)
|
|
0:8 'a3' (in int)
|
|
0:8 'a4' (in int)
|
|
0:8 left-shift (temp int)
|
|
0:8 'a1' (in int)
|
|
0:8 add (temp int)
|
|
0:8 'a2' (in int)
|
|
0:8 component-wise multiply (temp int)
|
|
0:8 'a3' (in int)
|
|
0:8 'a4' (in int)
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (global int)
|
|
0:7 Function Parameters:
|
|
0:7 'a1' (in int)
|
|
0:7 'a2' (in int)
|
|
0:7 'a3' (in int)
|
|
0:7 'a4' (in int)
|
|
0:? Sequence
|
|
0:8 Branch: Return with expression
|
|
0:8 add (temp int)
|
|
0:8 left-shift (temp int)
|
|
0:8 add (temp int)
|
|
0:8 component-wise multiply (temp int)
|
|
0:8 'a1' (in int)
|
|
0:8 'a2' (in int)
|
|
0:8 'a3' (in int)
|
|
0:8 'a4' (in int)
|
|
0:8 left-shift (temp int)
|
|
0:8 'a1' (in int)
|
|
0:8 add (temp int)
|
|
0:8 'a2' (in int)
|
|
0:8 component-wise multiply (temp int)
|
|
0:8 'a3' (in int)
|
|
0:8 'a4' (in int)
|
|
0:? Linker Objects
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 28
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "PixelShaderFunction" 8 10 13 16
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Name 4 "PixelShaderFunction"
|
|
Name 8 "a1"
|
|
Name 10 "a2"
|
|
Name 13 "a3"
|
|
Name 16 "a4"
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 1
|
|
7: TypePointer Input 6(int)
|
|
8(a1): 7(ptr) Variable Input
|
|
10(a2): 7(ptr) Variable Input
|
|
13(a3): 7(ptr) Variable Input
|
|
16(a4): 7(ptr) Variable Input
|
|
4(PixelShaderFunction): 2 Function None 3
|
|
5: Label
|
|
9: 6(int) Load 8(a1)
|
|
11: 6(int) Load 10(a2)
|
|
12: 6(int) IMul 9 11
|
|
14: 6(int) Load 13(a3)
|
|
15: 6(int) IAdd 12 14
|
|
17: 6(int) Load 16(a4)
|
|
18: 6(int) ShiftLeftLogical 15 17
|
|
19: 6(int) Load 8(a1)
|
|
20: 6(int) Load 10(a2)
|
|
21: 6(int) Load 13(a3)
|
|
22: 6(int) Load 16(a4)
|
|
23: 6(int) IMul 21 22
|
|
24: 6(int) IAdd 20 23
|
|
25: 6(int) ShiftLeftLogical 19 24
|
|
26: 6(int) IAdd 18 25
|
|
ReturnValue 26
|
|
FunctionEnd
|