yum-mirror/glslang

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

Wint3rNightAdd gl_out[].gl_ViewportIndex and gl_Layer for GL_NV_viewport_array2340bea6e

main
3.8 KiB69 linesraw
1spv.viewportArray2.perVertex.notRequested.tesc
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 32
5
6                              Capability Tessellation
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint TessellationControl 4  "main" 15 18 25
10                              ExecutionMode 4 OutputVertices 3
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 11  "gl_PerVertex"
14                              MemberName 11(gl_PerVertex) 0  "gl_Position"
15                              MemberName 11(gl_PerVertex) 1  "gl_PointSize"
16                              MemberName 11(gl_PerVertex) 2  "gl_ClipDistance"
17                              MemberName 11(gl_PerVertex) 3  "gl_CullDistance"
18                              Name 15  "gl_out"
19                              Name 18  "gl_InvocationID"
20                              Name 21  "gl_PerVertex"
21                              MemberName 21(gl_PerVertex) 0  "gl_Position"
22                              MemberName 21(gl_PerVertex) 1  "gl_PointSize"
23                              MemberName 21(gl_PerVertex) 2  "gl_ClipDistance"
24                              MemberName 21(gl_PerVertex) 3  "gl_CullDistance"
25                              Name 25  "gl_in"
26                              Decorate 11(gl_PerVertex) Block
27                              MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
28                              MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
29                              MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
30                              MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
31                              Decorate 18(gl_InvocationID) BuiltIn InvocationId
32                              Decorate 21(gl_PerVertex) Block
33                              MemberDecorate 21(gl_PerVertex) 0 BuiltIn Position
34                              MemberDecorate 21(gl_PerVertex) 1 BuiltIn PointSize
35                              MemberDecorate 21(gl_PerVertex) 2 BuiltIn ClipDistance
36                              MemberDecorate 21(gl_PerVertex) 3 BuiltIn CullDistance
37               2:             TypeVoid
38               3:             TypeFunction 2
39               6:             TypeFloat 32
40               7:             TypeVector 6(float) 4
41               8:             TypeInt 32 0
42               9:      8(int) Constant 1
43              10:             TypeArray 6(float) 9
4411(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
45              12:      8(int) Constant 3
46              13:             TypeArray 11(gl_PerVertex) 12
47              14:             TypePointer Output 13
48      15(gl_out):     14(ptr) Variable Output
49              16:             TypeInt 32 1
50              17:             TypePointer Input 16(int)
5118(gl_InvocationID):     17(ptr) Variable Input
52              20:     16(int) Constant 0
5321(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
54              22:      8(int) Constant 32
55              23:             TypeArray 21(gl_PerVertex) 22
56              24:             TypePointer Input 23
57       25(gl_in):     24(ptr) Variable Input
58              27:             TypePointer Input 7(fvec4)
59              30:             TypePointer Output 7(fvec4)
60         4(main):           2 Function None 3
61               5:             Label
62              19:     16(int) Load 18(gl_InvocationID)
63              26:     16(int) Load 18(gl_InvocationID)
64              28:     27(ptr) AccessChain 25(gl_in) 26 20
65              29:    7(fvec4) Load 28
66              31:     30(ptr) AccessChain 15(gl_out) 19 20
67                              Store 31 29
68                              Return
69                              FunctionEnd