yum-mirror/glslang

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

Guang-035Test relaxSetBindingLimits for parser validation and GLSL IoMap5336e80d

main
2.1 KiB44 linesraw
1spv.glsl.register.autoassign.relaxSetBindingLimits.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 22
5
6                              Capability Shader
7                              Capability Sampled1D
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 9
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 450
13                              Name 4  "main"
14                              Name 9  "fragColor"
15                              Name 12  "tex"
16                              Name 16  "samp"
17                              Decorate 9(fragColor) Location 0
18                              Decorate 12(tex) Binding 70001
19                              Decorate 12(tex) DescriptorSet 0
20                              Decorate 16(samp) Binding 70000
21                              Decorate 16(samp) DescriptorSet 0
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeFloat 32
25               7:             TypeVector 6(float) 4
26               8:             TypePointer Output 7(fvec4)
27    9(fragColor):      8(ptr) Variable Output
28              10:             TypeImage 6(float) 1D sampled format:Unknown
29              11:             TypePointer UniformConstant 10
30         12(tex):     11(ptr) Variable UniformConstant
31              14:             TypeSampler
32              15:             TypePointer UniformConstant 14
33        16(samp):     15(ptr) Variable UniformConstant
34              18:             TypeSampledImage 10
35              20:    6(float) Constant 1056964608
36         4(main):           2 Function None 3
37               5:             Label
38              13:          10 Load 12(tex)
39              17:          14 Load 16(samp)
40              19:          18 SampledImage 13 17
41              21:    7(fvec4) ImageSampleImplicitLod 19 20
42                              Store 9(fragColor) 21
43                              Return
44                              FunctionEnd