Add support for GL_EXT_shared_memory_block
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 2 Jun 2020 23:58:51 +0000 (16:58 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 29 Jan 2021 19:23:05 +0000 (11:23 -0800)
commit4bfbf62794a037533a6d856184a93d499306508c
tree17d65092fb66f460ad74d599610f5aaf4b452337
parent3785ddd59ae7a1e8fc854635c857455376a291f1
Add support for GL_EXT_shared_memory_block

Uses SPV_KHR_workgroup_memory_explicit_layout.  Note that if
GL_EXT_scalar_block_layout is enabled, Workgroup blocks can also use
scalar layout.
33 files changed:
SPIRV/GLSL.ext.KHR.h
SPIRV/GlslangToSpv.cpp
SPIRV/SpvPostProcess.cpp
SPIRV/SpvTools.cpp
SPIRV/doc.cpp
Test/baseResults/310.comp.out
Test/baseResults/400.frag.out
Test/baseResults/430.comp.out
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.8BitAccess.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.MixBlockNonBlock_Errors.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.MultiBlock.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.SingleBlock.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.scalar.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.std140.comp.out [new file with mode: 0644]
Test/baseResults/spv.WorkgroupMemoryExplicitLayout.std430.comp.out [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.8BitAccess.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.MixBlockNonBlock_Errors.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.MultiBlock.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.SingleBlock.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.scalar.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.std140.comp [new file with mode: 0644]
Test/spv.WorkgroupMemoryExplicitLayout.std430.comp [new file with mode: 0644]
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.h
glslang/MachineIndependent/Versions.cpp
glslang/MachineIndependent/Versions.h
glslang/MachineIndependent/linkValidate.cpp
glslang/MachineIndependent/localintermediate.h
gtests/Spv.FromFile.cpp