yum-mirror/glslang

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

Daniel StorySupport IO mapping of combined samplers and acceleration structures5f6c7176

main
2.8 KiB59 linesraw
1spv.rankShift.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 33
5
6                              Capability Shader
7                              Capability Int64
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint GLCompute 4  "main"
11                              ExecutionMode 4 LocalSize 54 1 1
12                              Source GLSL 450
13                              SourceExtension  "GL_ARB_gpu_shader_int64"
14                              Name 4  "main"
15                              Name 8  "result"
16                              Name 11  "arg0"
17                              Name 15  "arg1"
18                              Decorate 11(arg0) Location 4
19                              Decorate 11(arg0) DescriptorSet 0
20                              Decorate 15(arg1) Location 5
21                              Decorate 15(arg1) DescriptorSet 0
22                              Decorate 32 BuiltIn WorkgroupSize
23               2:             TypeVoid
24               3:             TypeFunction 2
25               6:             TypeInt 64 0
26               7:             TypePointer Function 6(int64_t)
27               9:             TypeInt 64 1
28              10:             TypePointer UniformConstant 9(int64_t)
29        11(arg0):     10(ptr) Variable UniformConstant
30              13:             TypeInt 32 0
31              14:             TypePointer UniformConstant 13(int)
32        15(arg1):     14(ptr) Variable UniformConstant
33              29:             TypeVector 13(int) 3
34              30:     13(int) Constant 54
35              31:     13(int) Constant 1
36              32:   29(ivec3) ConstantComposite 30 31 31
37         4(main):           2 Function None 3
38               5:             Label
39       8(result):      7(ptr) Variable Function
40              12:  9(int64_t) Load 11(arg0)
41              16:     13(int) Load 15(arg1)
42              17:  9(int64_t) ShiftLeftLogical 12 16
43              18:  6(int64_t) Bitcast 17
44                              Store 8(result) 18
45              19:  9(int64_t) Load 11(arg0)
46              20:     13(int) Load 15(arg1)
47              21:  9(int64_t) ShiftRightArithmetic 19 20
48              22:  6(int64_t) Bitcast 21
49                              Store 8(result) 22
50              23:     13(int) Load 15(arg1)
51              24:  6(int64_t) Load 8(result)
52              25:  6(int64_t) ShiftLeftLogical 24 23
53                              Store 8(result) 25
54              26:     13(int) Load 15(arg1)
55              27:  6(int64_t) Load 8(result)
56              28:  6(int64_t) ShiftRightLogical 27 26
57                              Store 8(result) 28
58                              Return
59                              FunctionEnd