John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.bool.vert |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
Graeme Leese | 182ab46 | 2020-06-22 11:49:38 +0100 | [diff] [blame^] | 3 | // Generated by (magic number): 8000a |
John Kessenich | e434ad9 | 2017-03-30 10:09:28 -0600 | [diff] [blame] | 4 | // Id's are bound by 46 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 9 | EntryPoint Vertex 4 "main" 24 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 10 | Source GLSL 450 |
| 11 | Name 4 "main" |
| 12 | Name 10 "foo(b1;" |
| 13 | Name 9 "b" |
Dejan Mircevski | ed55bcd | 2016-01-19 21:13:38 -0500 | [diff] [blame] | 14 | Name 22 "gl_PerVertex" |
| 15 | MemberName 22(gl_PerVertex) 0 "gl_Position" |
| 16 | MemberName 22(gl_PerVertex) 1 "gl_PointSize" |
| 17 | MemberName 22(gl_PerVertex) 2 "gl_ClipDistance" |
| 18 | MemberName 22(gl_PerVertex) 3 "gl_CullDistance" |
| 19 | Name 24 "" |
John Kessenich | 433e9ff | 2017-01-26 20:31:11 -0700 | [diff] [blame] | 20 | Name 27 "ubname" |
| 21 | MemberName 27(ubname) 0 "b" |
| 22 | Name 29 "ubinst" |
| 23 | Name 30 "param" |
Dejan Mircevski | ed55bcd | 2016-01-19 21:13:38 -0500 | [diff] [blame] | 24 | MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position |
| 25 | MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize |
| 26 | MemberDecorate 22(gl_PerVertex) 2 BuiltIn ClipDistance |
| 27 | MemberDecorate 22(gl_PerVertex) 3 BuiltIn CullDistance |
| 28 | Decorate 22(gl_PerVertex) Block |
John Kessenich | 433e9ff | 2017-01-26 20:31:11 -0700 | [diff] [blame] | 29 | MemberDecorate 27(ubname) 0 Offset 0 |
| 30 | Decorate 27(ubname) Block |
| 31 | Decorate 29(ubinst) DescriptorSet 0 |
Jeff Bolz | 0a93cfb | 2018-12-11 20:53:59 -0600 | [diff] [blame] | 32 | Decorate 29(ubinst) Binding 0 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 33 | 2: TypeVoid |
| 34 | 3: TypeFunction 2 |
| 35 | 6: TypeBool |
| 36 | 7: TypePointer Function 6(bool) |
| 37 | 8: TypeFunction 6(bool) 7(ptr) |
| 38 | 13: 6(bool) ConstantFalse |
Dejan Mircevski | ed55bcd | 2016-01-19 21:13:38 -0500 | [diff] [blame] | 39 | 17: TypeFloat 32 |
| 40 | 18: TypeVector 17(float) 4 |
| 41 | 19: TypeInt 32 0 |
| 42 | 20: 19(int) Constant 1 |
| 43 | 21: TypeArray 17(float) 20 |
| 44 | 22(gl_PerVertex): TypeStruct 18(fvec4) 17(float) 21 21 |
| 45 | 23: TypePointer Output 22(gl_PerVertex) |
| 46 | 24: 23(ptr) Variable Output |
| 47 | 25: TypeInt 32 1 |
| 48 | 26: 25(int) Constant 0 |
John Kessenich | 433e9ff | 2017-01-26 20:31:11 -0700 | [diff] [blame] | 49 | 27(ubname): TypeStruct 19(int) |
| 50 | 28: TypePointer Uniform 27(ubname) |
| 51 | 29(ubinst): 28(ptr) Variable Uniform |
| 52 | 31: TypePointer Uniform 19(int) |
| 53 | 34: 19(int) Constant 0 |
| 54 | 37: 17(float) Constant 0 |
| 55 | 38: 18(fvec4) ConstantComposite 37 37 37 37 |
| 56 | 39: 17(float) Constant 1065353216 |
| 57 | 40: 18(fvec4) ConstantComposite 39 39 39 39 |
John Kessenich | e434ad9 | 2017-03-30 10:09:28 -0600 | [diff] [blame] | 58 | 41: TypeVector 6(bool) 4 |
| 59 | 44: TypePointer Output 18(fvec4) |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 60 | 4(main): 2 Function None 3 |
| 61 | 5: Label |
John Kessenich | 433e9ff | 2017-01-26 20:31:11 -0700 | [diff] [blame] | 62 | 30(param): 7(ptr) Variable Function |
| 63 | 32: 31(ptr) AccessChain 29(ubinst) 26 |
| 64 | 33: 19(int) Load 32 |
| 65 | 35: 6(bool) INotEqual 33 34 |
| 66 | Store 30(param) 35 |
| 67 | 36: 6(bool) FunctionCall 10(foo(b1;) 30(param) |
John Kessenich | e434ad9 | 2017-03-30 10:09:28 -0600 | [diff] [blame] | 68 | 42: 41(bvec4) CompositeConstruct 36 36 36 36 |
| 69 | 43: 18(fvec4) Select 42 38 40 |
| 70 | 45: 44(ptr) AccessChain 24 26 |
| 71 | Store 45 43 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 72 | Return |
| 73 | FunctionEnd |
| 74 | 10(foo(b1;): 6(bool) Function None 8 |
| 75 | 9(b): 7(ptr) FunctionParameter |
| 76 | 11: Label |
| 77 | 12: 6(bool) Load 9(b) |
Rex Xu | c7d3656 | 2016-04-27 08:15:37 +0800 | [diff] [blame] | 78 | 14: 6(bool) LogicalNotEqual 12 13 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 79 | ReturnValue 14 |
| 80 | FunctionEnd |