glslang-zig/glslang
Neil Henning b6b01f067b Fix 8-bit storage nearly always using the
UniformAndStorageBuffer8BitAccess capability.

When using the 8-bit storage extension it basically always used the
`UniformAndStorageBuffer8BitAccess` capability, even in cases where it
wasn't required. For instance if we are targeting Vulkan 1.1 (SPIR-V 1.3
or higher), and we are only using 8-bit types in an SSBO, we only need
the `StorageBuffer8BitAccess` capability.

I fixed this by enabling storage buffer use in Vulkan 1.1 / SPIR-V 1.3
or higher, and then changing the logic to match.

I also added some tests that will output different capabilities when run
on Vulkan 1.0 and 1.1, thus they are added twice to the test list (one
for each version).

Fixes #1539
2018-10-26 14:23:41 +01:00
..
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Include Fix #1536: use string instead of TString for uniform-location override. 2018-10-20 17:37:19 -06:00
MachineIndependent Fix 8-bit storage nearly always using the 2018-10-26 14:23:41 +01:00
OSDependent Implement OS_DumpMemoryCounters for Linux 2017-11-13 22:22:42 -07:00
Public Add an option to set the base uniform location 2018-10-02 12:15:22 +02:00
CMakeLists.txt Remove execute permissions 2018-08-07 03:16:20 +09:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00