blob: fb7c6860b23074cd43dc100c2a3c7310572bf1cb [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.bool.vert
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +01003// Generated by (magic number): 8000a
John Kesseniche434ad92017-03-30 10:09:28 -06004// Id's are bound by 46
John Kessenichcc16fa02015-12-10 18:01:54 -07005
6 Capability Shader
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
John Kessenich6c292d32016-02-15 20:58:50 -07009 EntryPoint Vertex 4 "main" 24
John Kessenichcc16fa02015-12-10 18:01:54 -070010 Source GLSL 450
11 Name 4 "main"
12 Name 10 "foo(b1;"
13 Name 9 "b"
Dejan Mircevskied55bcd2016-01-19 21:13:38 -050014 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 Kessenich433e9ff2017-01-26 20:31:11 -070020 Name 27 "ubname"
21 MemberName 27(ubname) 0 "b"
22 Name 29 "ubinst"
23 Name 30 "param"
Dejan Mircevskied55bcd2016-01-19 21:13:38 -050024 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 Kessenich433e9ff2017-01-26 20:31:11 -070029 MemberDecorate 27(ubname) 0 Offset 0
30 Decorate 27(ubname) Block
31 Decorate 29(ubinst) DescriptorSet 0
Jeff Bolz0a93cfb2018-12-11 20:53:59 -060032 Decorate 29(ubinst) Binding 0
John Kessenichcc16fa02015-12-10 18:01:54 -070033 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 Mircevskied55bcd2016-01-19 21:13:38 -050039 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
4422(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 Kessenich433e9ff2017-01-26 20:31:11 -070049 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 Kesseniche434ad92017-03-30 10:09:28 -060058 41: TypeVector 6(bool) 4
59 44: TypePointer Output 18(fvec4)
John Kessenichcc16fa02015-12-10 18:01:54 -070060 4(main): 2 Function None 3
61 5: Label
John Kessenich433e9ff2017-01-26 20:31:11 -070062 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 Kesseniche434ad92017-03-30 10:09:28 -060068 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 Kessenichcc16fa02015-12-10 18:01:54 -070072 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 Xuc7d36562016-04-27 08:15:37 +080078 14: 6(bool) LogicalNotEqual 12 13
John Kessenichcc16fa02015-12-10 18:01:54 -070079 ReturnValue 14
80 FunctionEnd