yum-mirror/glslang

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

Spencer FrickeRevert "`local_size_*_id` and SPIR-V 1.2 (#4052)" (#4403)e7e245dd

main
1.5 KiB31 linesraw
1spv.computeShaderDerivativesSpec.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 12
5
6                              Capability Shader
7                              Capability ComputeDerivativeGroupQuadsKHR
8                              Extension  "SPV_NV_compute_shader_derivatives"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint GLCompute 4  "main"
12                              ExecutionMode 4 LocalSize 1 1 1
13                              ExecutionMode 4 DerivativeGroupQuadsKHR
14                              Source GLSL 450
15                              SourceExtension  "GL_NV_compute_shader_derivatives"
16                              Name 4  "main"
17                              Decorate 7 SpecId 0
18                              Decorate 8 SpecId 1
19                              Decorate 11 BuiltIn WorkgroupSize
20               2:             TypeVoid
21               3:             TypeFunction 2
22               6:             TypeInt 32 0
23               7:      6(int) SpecConstant 1
24               8:      6(int) SpecConstant 1
25               9:      6(int) Constant 1
26              10:             TypeVector 6(int) 3
27              11:   10(ivec3) SpecConstantComposite 7 8 9
28         4(main):           2 Function None 3
29               5:             Label
30                              Return
31                              FunctionEnd