mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-20 10:18:39 +00:00
39374dadb5
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
77 lines
3.3 KiB
Plaintext
77 lines
3.3 KiB
Plaintext
spv.300layout.frag
|
|
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 38
|
|
|
|
Source GLSL 300
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4
|
|
Name 4 "main"
|
|
Name 10 "c"
|
|
Name 12 "color"
|
|
Name 14 "S"
|
|
MemberName 14(S) 0 "c"
|
|
MemberName 14(S) 1 "f"
|
|
Name 16 "s"
|
|
Name 27 "p"
|
|
Name 30 "pos"
|
|
Decorate 10(c) PrecisionMedium
|
|
Decorate 10(c) Location 7
|
|
Decorate 12(color) PrecisionMedium
|
|
Decorate 12(color) Smooth
|
|
MemberDecorate 14(S) 0 PrecisionMedium
|
|
MemberDecorate 14(S) 1 PrecisionMedium
|
|
Decorate 27(p) PrecisionMedium
|
|
Decorate 27(p) Location 3
|
|
Decorate 30(pos) PrecisionMedium
|
|
Decorate 30(pos) Smooth
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeFloat 32
|
|
8: TypeVector 7(float) 3
|
|
9: TypePointer Output 8(fvec3)
|
|
10(c): 9(ptr) Variable Output
|
|
11: TypePointer Input 8(fvec3)
|
|
12(color): 11(ptr) Variable Input
|
|
14(S): TypeStruct 8(fvec3) 7(float)
|
|
15: TypePointer Input 14(S)
|
|
16(s): 15(ptr) Variable Input
|
|
17: TypeInt 32 1
|
|
18: 17(int) Constant 0
|
|
22: TypeVector 7(float) 4
|
|
23: TypeInt 32 0
|
|
24: 23(int) Constant 2
|
|
25: TypeArray 22(fvec4) 24
|
|
26: TypePointer Output 25
|
|
27(p): 26(ptr) Variable Output
|
|
28: 17(int) Constant 1
|
|
29: TypePointer Input 22(fvec4)
|
|
30(pos): 29(ptr) Variable Input
|
|
32: TypePointer Input 7(float)
|
|
36: TypePointer Output 22(fvec4)
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
13: 8(fvec3) Load 12(color)
|
|
19: 11(ptr) AccessChain 16(s) 18
|
|
20: 8(fvec3) Load 19
|
|
21: 8(fvec3) FAdd 13 20
|
|
Store 10(c) 21
|
|
31: 22(fvec4) Load 30(pos)
|
|
33: 32(ptr) AccessChain 16(s) 28
|
|
34: 7(float) Load 33
|
|
35: 22(fvec4) VectorTimesScalar 31 34
|
|
37: 36(ptr) AccessChain 27(p) 28
|
|
Store 37 35
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|