Hans-Kristian Arntzen
64f9461d72
Check for array of samplers.
2018-04-17 17:47:15 +02:00
Hans-Kristian Arntzen
df58debf7a
Add support for constexpr samplers in MSL.
2018-04-17 17:43:32 +02:00
Hans-Kristian Arntzen
3a8335eee0
Merge pull request #537 from KhronosGroup/fix-535
...
Unsigned integers are disallowed on legacy targets.
2018-04-17 15:30:03 +02:00
Hans-Kristian Arntzen
b9cd3dcd7f
Run format_all.sh.
2018-04-17 15:01:31 +02:00
Hans-Kristian Arntzen
e930f79e2e
Be a bit smarter about uint on legacy targets.
...
Allow constants (array sizes for example), but using unsigned opcodes,
and unsigned-specific opcodes is a problem.
2018-04-17 14:56:49 +02:00
Hans-Kristian Arntzen
2684054bbd
Merge pull request #538 from KhronosGroup/fix-io-block-location
...
Distinguish between enhanced_layouts and SSO requirements.
2018-04-17 14:40:50 +02:00
Hans-Kristian Arntzen
b06c1af9b3
Distinguish between enhanced_layouts and SSO requirements.
...
Block locations are 440, but non-block are 410 ...
2018-04-17 14:16:27 +02:00
Hans-Kristian Arntzen
28c9be8a23
Unsigned integers are disallowed on legacy targets.
...
There is no sensible way to map this that would work in all scenarios.
2018-04-17 13:56:10 +02:00
Hans-Kristian Arntzen
7796a9f3ec
Merge pull request #531 from KhronosGroup/subgroup
...
Vulkan 1.1 subgroup support in GLSL/HLSL
2018-04-11 17:10:16 +02:00
Hans-Kristian Arntzen
c266429be9
Partially implement subgroup ops for HLSL SM 6.0.
...
Lots of stuff that needs tons of emulation, which I'm not going to
bother with.
2018-04-11 15:57:41 +02:00
Hans-Kristian Arntzen
146ea76f52
Add test shader for subgroup.
...
Update SPIRV-Tools/glslang commits.
Use vulkan1.1 environment for testing.
Found new "errors" in SPIRV-Tools, so disable validation on those shaders
for now.
2018-04-11 10:29:47 +02:00
Hans-Kristian Arntzen
e1ccfd5dbb
Implement all of subgroup.
2018-04-10 17:16:41 +02:00
Hans-Kristian Arntzen
f6c0e53f58
Start adding Vulkan 1.1 subgroup support to GLSL.
2018-04-10 16:13:33 +02:00
Hans-Kristian Arntzen
489e04e09e
Merge pull request #530 from KhronosGroup/fix-529
...
Fix depth-compare sampling in MSL when used as global alias argument.
2018-04-10 12:47:43 +02:00
Hans-Kristian Arntzen
9c2761f69a
Run format_all.sh.
2018-04-10 12:32:14 +02:00
Hans-Kristian Arntzen
8175e2e200
Fix depth compare textures when used in functions without argument.
2018-04-10 12:31:13 +02:00
Hans-Kristian Arntzen
edac731360
Merge pull request #528 from msiglreith/fix_root_constants_name
...
Fix naming of root constants
2018-04-09 08:23:46 +02:00
Hans-Kristian Arntzen
6bdd775936
Merge pull request #526 from taisei-project/strip-uniform-location
...
Strip uniform locations for ESSL < 3.00 and GLSL < 4.30
2018-04-09 08:22:55 +02:00
msiglreith
f260c452f7
Fix naming of root constants
2018-04-08 15:04:45 +02:00
Andrei Alexeyev
4a43024dba
Strip uniform locations for ESSL < 3.00 and GLSL < 430
2018-04-07 22:14:35 +03:00
Hans-Kristian Arntzen
9b8c2c4654
Merge pull request #524 from KhronosGroup/fix-512-523
...
Support empty structs better, fix register_extension regression
2018-04-05 17:00:49 +02:00
Hans-Kristian Arntzen
694b314f87
Support empty structs.
...
Need to fake it by pretending it has one dummy member.
2018-04-05 16:26:54 +02:00
Hans-Kristian Arntzen
31a3fdf4ee
Decouple public require_extension and the internal use of the function.
2018-04-05 14:43:31 +02:00
Hans-Kristian Arntzen
d0133c5dd9
Merge pull request #509 from KhronosGroup/hlsl-semantic-counter-buffer
...
Add support for new HLSL semantic/counter buffer decorations.
2018-04-04 13:23:39 +02:00
Hans-Kristian Arntzen
d8cdab2f57
Add test shader for semantic decoration.
2018-04-04 13:03:26 +02:00
Hans-Kristian Arntzen
05c66f9cac
Add test shader which uses counter buffer extension.
2018-04-04 12:56:34 +02:00
Hans-Kristian Arntzen
215d3ca0a4
Add support for new HLSL semantic/counter buffer decorations.
2018-04-04 12:54:31 +02:00
Hans-Kristian Arntzen
7f84537350
Merge pull request #519 from KhronosGroup/fix-507
...
Fix arrays of images and samplers in MSL
2018-04-04 12:47:40 +02:00
Hans-Kristian Arntzen
ac81a0ce68
Use declared binding in SPIR-V as a fallback for explicit MSL binds.
2018-04-04 12:25:11 +02:00
Hans-Kristian Arntzen
e8ca39b7b5
Add test for sampler image arrays.
2018-04-04 09:41:20 +02:00
Hans-Kristian Arntzen
382101bd05
Run format_all.sh.
2018-04-04 09:26:53 +02:00
Hans-Kristian Arntzen
1d082e9b79
Fix passing arrays of combined image samplers in HLSL.
2018-04-04 09:26:53 +02:00
Hans-Kristian Arntzen
5827dd54ea
Support array of images and samplers in MSL.
2018-04-04 09:26:53 +02:00
Hans-Kristian Arntzen
81eb72a9a0
Ignore LOD when sampling 1D textures in MSL.
...
Not supported.
2018-04-04 09:26:53 +02:00
Hans-Kristian Arntzen
69ffd918a6
Merge pull request #522 from KhronosGroup/fix-515
...
Emit classic uniform for UBO in GLSL 1.30.
2018-04-03 20:56:30 +02:00
Hans-Kristian Arntzen
938040be0b
Only disable binding layout for UBOs.
2018-04-03 16:58:26 +02:00
Hans-Kristian Arntzen
fe697a80f5
Emit classic uniform for UBO in GLSL 1.30.
2018-04-03 16:58:26 +02:00
Hans-Kristian Arntzen
65be63fd04
Merge pull request #521 from KhronosGroup/fix-516
...
Support dual-source blending on GLSL and MSL.
2018-04-03 16:54:32 +02:00
Hans-Kristian Arntzen
a6e211e00b
Support dual-source blending on GLSL and MSL.
2018-04-03 16:04:49 +02:00
Hans-Kristian Arntzen
a1e30c8c2b
Merge pull request #520 from KhronosGroup/fix-517
...
Add more illegal name replacement in MSL.
2018-04-03 16:04:45 +02:00
Hans-Kristian Arntzen
3229e6efb6
Add more illegal name replacement in MSL.
2018-04-03 15:36:35 +02:00
Hans-Kristian Arntzen
761b06bc73
Merge pull request #514 from KhronosGroup/fix-510
...
Fix name aliasing for temporary variables.
2018-03-24 04:52:18 +01:00
Hans-Kristian Arntzen
a901b4c814
Remove redundant temporary sort.
2018-03-24 04:22:34 +01:00
Hans-Kristian Arntzen
c1947aa447
Update glslang/SPIRV-Tools on Travis.
2018-03-24 04:16:18 +01:00
Hans-Kristian Arntzen
35f64d03bb
Fix name aliasing for temporary variables.
2018-03-24 01:53:49 +01:00
Hans-Kristian Arntzen
5161d5ed3b
Merge pull request #505 from KhronosGroup/msl-array-mrt
...
Flatten MSL MRT outputs when used as an array.
2018-03-13 14:34:26 +01:00
Hans-Kristian Arntzen
719cf9d42f
Run format_all.sh.
2018-03-13 14:05:33 +01:00
Hans-Kristian Arntzen
8e90382675
Properly flatten MRT outputs in MSL.
2018-03-13 14:03:35 +01:00
Hans-Kristian Arntzen
6e6ca0b237
Attempt MRT-as-array in MSL.
2018-03-13 13:17:17 +01:00
Hans-Kristian Arntzen
fbfe13657a
Merge pull request #502 from KhronosGroup/update-glslang-spirv-tools
...
Update glslang and SPIRV-Tools and maintenance fixes
2018-03-13 12:51:14 +01:00