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