yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Wint3rNightAdd GL_EXT_clip_cull_distance and GL_ARB_cull_distance54947913

main
2.7 KiB54 linesraw
1spv.320.clipCullDistance.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 28
5
6                              Capability Shader
7                              Capability ClipDistance
8                              Capability CullDistance
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Vertex 4  "main" 15
12                              Source ESSL 320
13                              SourceExtension  "GL_EXT_clip_cull_distance"
14                              Name 4  "main"
15                              Name 13  "gl_PerVertex"
16                              MemberName 13(gl_PerVertex) 0  "gl_Position"
17                              MemberName 13(gl_PerVertex) 1  "gl_ClipDistance"
18                              MemberName 13(gl_PerVertex) 2  "gl_CullDistance"
19                              Name 15  ""
20                              Decorate 13(gl_PerVertex) Block
21                              MemberDecorate 13(gl_PerVertex) 0 BuiltIn Position
22                              MemberDecorate 13(gl_PerVertex) 1 BuiltIn ClipDistance
23                              MemberDecorate 13(gl_PerVertex) 2 BuiltIn CullDistance
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeVector 6(float) 4
28               8:             TypeInt 32 0
29               9:      8(int) Constant 3
30              10:             TypeArray 6(float) 9
31              11:      8(int) Constant 2
32              12:             TypeArray 6(float) 11
3313(gl_PerVertex):             TypeStruct 7(fvec4) 10 12
34              14:             TypePointer Output 13(gl_PerVertex)
35              15:     14(ptr) Variable Output
36              16:             TypeInt 32 1
37              17:     16(int) Constant 1
38              18:     16(int) Constant 2
39              19:    6(float) Constant 1065353216
40              20:             TypePointer Output 6(float)
41              22:     16(int) Constant 0
42              23:    6(float) Constant 1073741824
43              25:    7(fvec4) ConstantComposite 19 19 19 19
44              26:             TypePointer Output 7(fvec4)
45         4(main):           2 Function None 3
46               5:             Label
47              21:     20(ptr) AccessChain 15 17 18
48                              Store 21 19
49              24:     20(ptr) AccessChain 15 18 22
50                              Store 24 23
51              27:     26(ptr) AccessChain 15 22
52                              Store 27 25
53                              Return
54                              FunctionEnd