John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.300layout.frag |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
Jeremy Hayes | 78221d6 | 2022-10-12 18:16:41 -0600 | [diff] [blame^] | 3 | // Generated by (magic number): 8000b |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 4 | // Id's are bound by 37 |
| 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 7ba6341 | 2015-12-20 17:37:07 -0700 | [diff] [blame] | 9 | EntryPoint Fragment 4 "main" 9 11 15 26 29 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 10 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | f6eae2a | 2016-01-22 17:47:22 -0700 | [diff] [blame] | 11 | Source ESSL 310 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 12 | Name 4 "main" |
| 13 | Name 9 "c" |
| 14 | Name 11 "color" |
| 15 | Name 13 "S" |
| 16 | MemberName 13(S) 0 "c" |
| 17 | MemberName 13(S) 1 "f" |
| 18 | Name 15 "s" |
| 19 | Name 26 "p" |
| 20 | Name 29 "pos" |
| 21 | Decorate 9(c) RelaxedPrecision |
| 22 | Decorate 9(c) Location 7 |
| 23 | Decorate 11(color) RelaxedPrecision |
John Kessenich | f6facfa | 2020-07-01 06:30:16 -0600 | [diff] [blame] | 24 | Decorate 11(color) Location 1 |
John Kessenich | 32cfd49 | 2016-02-02 12:37:46 -0700 | [diff] [blame] | 25 | Decorate 12 RelaxedPrecision |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 26 | MemberDecorate 13(S) 0 RelaxedPrecision |
| 27 | MemberDecorate 13(S) 1 RelaxedPrecision |
John Kessenich | f6facfa | 2020-07-01 06:30:16 -0600 | [diff] [blame] | 28 | Decorate 15(s) Location 2 |
John Kessenich | 32cfd49 | 2016-02-02 12:37:46 -0700 | [diff] [blame] | 29 | Decorate 19 RelaxedPrecision |
| 30 | Decorate 20 RelaxedPrecision |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 31 | Decorate 26(p) RelaxedPrecision |
| 32 | Decorate 26(p) Location 3 |
| 33 | Decorate 29(pos) RelaxedPrecision |
John Kessenich | f6facfa | 2020-07-01 06:30:16 -0600 | [diff] [blame] | 34 | Decorate 29(pos) Location 0 |
John Kessenich | 32cfd49 | 2016-02-02 12:37:46 -0700 | [diff] [blame] | 35 | Decorate 30 RelaxedPrecision |
| 36 | Decorate 33 RelaxedPrecision |
| 37 | Decorate 34 RelaxedPrecision |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 38 | 2: TypeVoid |
| 39 | 3: TypeFunction 2 |
| 40 | 6: TypeFloat 32 |
| 41 | 7: TypeVector 6(float) 3 |
| 42 | 8: TypePointer Output 7(fvec3) |
| 43 | 9(c): 8(ptr) Variable Output |
| 44 | 10: TypePointer Input 7(fvec3) |
| 45 | 11(color): 10(ptr) Variable Input |
| 46 | 13(S): TypeStruct 7(fvec3) 6(float) |
| 47 | 14: TypePointer Input 13(S) |
| 48 | 15(s): 14(ptr) Variable Input |
| 49 | 16: TypeInt 32 1 |
| 50 | 17: 16(int) Constant 0 |
| 51 | 21: TypeVector 6(float) 4 |
| 52 | 22: TypeInt 32 0 |
| 53 | 23: 22(int) Constant 2 |
| 54 | 24: TypeArray 21(fvec4) 23 |
| 55 | 25: TypePointer Output 24 |
| 56 | 26(p): 25(ptr) Variable Output |
| 57 | 27: 16(int) Constant 1 |
| 58 | 28: TypePointer Input 21(fvec4) |
| 59 | 29(pos): 28(ptr) Variable Input |
| 60 | 31: TypePointer Input 6(float) |
| 61 | 35: TypePointer Output 21(fvec4) |
| 62 | 4(main): 2 Function None 3 |
| 63 | 5: Label |
| 64 | 12: 7(fvec3) Load 11(color) |
| 65 | 18: 10(ptr) AccessChain 15(s) 17 |
| 66 | 19: 7(fvec3) Load 18 |
| 67 | 20: 7(fvec3) FAdd 12 19 |
| 68 | Store 9(c) 20 |
| 69 | 30: 21(fvec4) Load 29(pos) |
| 70 | 32: 31(ptr) AccessChain 15(s) 27 |
| 71 | 33: 6(float) Load 32 |
| 72 | 34: 21(fvec4) VectorTimesScalar 30 33 |
| 73 | 36: 35(ptr) AccessChain 26(p) 27 |
| 74 | Store 36 34 |
| 75 | Return |
| 76 | FunctionEnd |