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
..
2016-03-03 12:12:07 -05:00
2018-08-07 03:16:20 +09:00
2016-07-19 15:13:47 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-07-23 11:49:42 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:25:35 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2016-11-21 18:25:08 -07:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-08-23 14:33:31 -06:00
2017-06-26 17:52:22 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-03-03 18:19:03 -07:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-10-22 23:17:18 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-04-23 15:17:21 -06:00
2018-08-07 03:16:20 +09:00