mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
46 lines
2.2 KiB
Plaintext
46 lines
2.2 KiB
Plaintext
spv.WorkgroupMemoryExplicitLayout.8BitAccess.comp
|
|
// Module Version 10400
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 20
|
|
|
|
Capability Shader
|
|
Capability Int8
|
|
Capability CapabilityWorkgroupMemoryExplicitLayoutKHR
|
|
Capability CapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR
|
|
Extension "SPV_KHR_workgroup_memory_explicit_layout"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint GLCompute 4 "main" 9
|
|
ExecutionMode 4 LocalSize 2 1 1
|
|
Source GLSL 430
|
|
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
|
SourceExtension "GL_EXT_shared_memory_block"
|
|
Name 4 "main"
|
|
Name 7 "first"
|
|
MemberName 7(first) 0 "a"
|
|
Name 9 ""
|
|
MemberDecorate 7(first) 0 Offset 0
|
|
Decorate 7(first) Block
|
|
Decorate 19 BuiltIn WorkgroupSize
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 8 1
|
|
7(first): TypeStruct 6(int8_t)
|
|
8: TypePointer Workgroup 7(first)
|
|
9: 8(ptr) Variable Workgroup
|
|
10: TypeInt 32 1
|
|
11: 10(int) Constant 0
|
|
12: 6(int8_t) Constant 2
|
|
13: TypePointer Workgroup 6(int8_t)
|
|
15: TypeInt 32 0
|
|
16: TypeVector 15(int) 3
|
|
17: 15(int) Constant 2
|
|
18: 15(int) Constant 1
|
|
19: 16(ivec3) ConstantComposite 17 18 18
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
14: 13(ptr) AccessChain 9 11
|
|
Store 14 12
|
|
Return
|
|
FunctionEnd
|