yum-mirror/glslang

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

Ricardo GarciaAdd support for GL_EXT_optional_input_attachment_indexad812716

main
1.9 KiB39 linesraw
1spv.no_input_attachment_index.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 19
5
6                              Capability Shader
7                              Capability InputAttachment
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 9
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 460
13                              SourceExtension  "GL_EXT_optional_input_attachment_index"
14                              Name 4  "main"
15                              Name 9  "outColor"
16                              Name 12  "ia"
17                              Decorate 9(outColor) Location 0
18                              Decorate 12(ia) Binding 0
19                              Decorate 12(ia) DescriptorSet 0
20               2:             TypeVoid
21               3:             TypeFunction 2
22               6:             TypeFloat 32
23               7:             TypeVector 6(float) 4
24               8:             TypePointer Output 7(fvec4)
25     9(outColor):      8(ptr) Variable Output
26              10:             TypeImage 6(float) SubpassData nonsampled format:Unknown
27              11:             TypePointer UniformConstant 10
28          12(ia):     11(ptr) Variable UniformConstant
29              14:             TypeInt 32 1
30              15:     14(int) Constant 0
31              16:             TypeVector 14(int) 2
32              17:   16(ivec2) ConstantComposite 15 15
33         4(main):           2 Function None 3
34               5:             Label
35              13:          10 Load 12(ia)
36              18:    7(fvec4) ImageRead 13 17
37                              Store 9(outColor) 18
38                              Return
39                              FunctionEnd