yum-mirror/glslang

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

Wint3rNightAllow location on inputs and outputs at any version when generating SPIR-V9a1dc751

main
1.3 KiB30 linesraw
1spv.140.location.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 13
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 9 11
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 140
12                              Name 4  "main"
13                              Name 9  "fragColor"
14                              Name 11  "color"
15                              Decorate 9(fragColor) Location 0
16                              Decorate 11(color) Location 0
17               2:             TypeVoid
18               3:             TypeFunction 2
19               6:             TypeFloat 32
20               7:             TypeVector 6(float) 4
21               8:             TypePointer Output 7(fvec4)
22    9(fragColor):      8(ptr) Variable Output
23              10:             TypePointer Input 7(fvec4)
24       11(color):     10(ptr) Variable Input
25         4(main):           2 Function None 3
26               5:             Label
27              12:    7(fvec4) Load 11(color)
28                              Store 9(fragColor) 12
29                              Return
30                              FunctionEnd