yum-mirror/glslang

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

Shaochi Zhou(AMD)Implement extension GL_EXT_descriptor_heap.c8d3e066

main
2.2 KiB44 linesraw
1spv.descriptorHeap.DebugPrintf.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 20
5
6                              Capability Shader
7                              Capability UntypedPointersKHR
8                              Capability DescriptorHeapEXT
9                              Extension  "SPV_EXT_descriptor_heap"
10                              Extension  "SPV_KHR_non_semantic_info"
11                              Extension  "SPV_KHR_untyped_pointers"
12               1:             ExtInstImport  "GLSL.std.450"
13              12:             ExtInstImport  "NonSemantic.DebugPrintf"
14                              MemoryModel Logical GLSL450
15                              EntryPoint GLCompute 4  "main" 19
16                              ExecutionMode 4 LocalSize 1 1 1
17              10:             String  "float == %f"
18                              Source GLSL 450
19                              SourceExtension  "GL_EXT_debug_printf"
20                              SourceExtension  "GL_EXT_descriptor_heap"
21                              Name 4  "main"
22                              Name 8  "myfloat"
23                              Name 19  "resource_heap"
24                              Decorate 17 BuiltIn WorkgroupSize
25                              Decorate 19(resource_heap) BuiltIn ResourceHeapEXT
26               2:             TypeVoid
27               3:             TypeFunction 2
28               6:             TypeFloat 32
29               7:             TypePointer Function 6(float)
30               9:    6(float) Constant 1078529622
31              14:             TypeInt 32 0
32              15:             TypeVector 14(int) 3
33              16:     14(int) Constant 1
34              17:   15(ivec3) ConstantComposite 16 16 16
35              18:             TypeUntypedPointerKHR UniformConstant
3619(resource_heap):     18(ptr) UntypedVariableKHR UniformConstant
37         4(main):           2 Function None 3
38               5:             Label
39      8(myfloat):      7(ptr) Variable Function
40                              Store 8(myfloat) 9
41              11:    6(float) Load 8(myfloat)
42              13:           2 ExtInst 12(NonSemantic.DebugPrintf) 1(DebugPrintf) 10 11
43                              Return
44                              FunctionEnd