Hans-Kristian Arntzen
17be3c652f
Deal with fake overloads when using combined image samplers.
2018-05-02 10:36:00 +02:00
Hans-Kristian Arntzen
e80d6e0142
Merge pull request #559 from KhronosGroup/fix-558
...
Fix OpCompositeConstruct with arrays in MSL.
2018-05-02 10:18:05 +02:00
Hans-Kristian Arntzen
3187d89c31
Reduce test case ... MSL can't deal with certain unusual cases yet.
2018-05-02 10:01:08 +02:00
Hans-Kristian Arntzen
f3e810b8b3
Fix OpCompositeConstruct with arrays in MSL.
2018-05-02 09:38:41 +02:00
Hans-Kristian Arntzen
9d43e9c02a
Merge pull request #556 from billhollings/master
...
Compiler MSL default gather offset when component specified.
2018-05-01 01:20:28 +02:00
Bill Hollings
ba1026b899
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
2018-04-30 16:31:19 -04:00
Bill Hollings
57213cb7ca
Compiler MSL default gather offset when component specified.
2018-04-30 16:30:29 -04:00
Hans-Kristian Arntzen
1ebccb4466
Mention Wiki in README.
2018-04-30 16:47:49 +02:00
Hans-Kristian Arntzen
8f07df016b
Merge pull request #555 from KhronosGroup/fix-553
...
Fix GatherDref on GLSL.
2018-04-30 13:08:01 +02:00
Hans-Kristian Arntzen
7e23e69f2a
Run format_all.sh.
2018-04-30 12:46:21 +02:00
Hans-Kristian Arntzen
47081f810a
Fix GatherDref on GLSL.
2018-04-30 12:45:23 +02:00
Hans-Kristian Arntzen
6b478c928d
Merge pull request #554 from KhronosGroup/query-fixes
...
Fix OpImageFetch without explicit LOD and query functions without combined sampler.
2018-04-30 12:34:50 +02:00
Hans-Kristian Arntzen
40bbf6be7a
Build combined dummy samplers for Query functions without sampler as well.
...
Deal with various query functions which require dummy sampler.
In SPIR-V, separate images are used, but GLSL (even Vulkan GLSL)
requires combined sampler images ...
2018-04-30 12:08:33 +02:00
Hans-Kristian Arntzen
d93807a625
Deal with OpImageFetch without explicit LOD.
2018-04-30 10:54:44 +02:00
Hans-Kristian Arntzen
454691f434
Merge pull request #547 from KhronosGroup/op-image-usage-tracking
...
Fix usage tracking issue for OpImage.
2018-04-27 11:29:31 +02:00
Hans-Kristian Arntzen
aaf397cd1f
Fix usage tracking issue for OpImage.
2018-04-27 11:11:24 +02:00
Hans-Kristian Arntzen
bbf6b60350
Merge pull request #546 from KhronosGroup/fix-545
...
Fix multiple uses of combined image samplers on Vulkan GLSL
2018-04-27 10:47:31 +02:00
Hans-Kristian Arntzen
893ed379d5
Remove some stale test files.
2018-04-27 10:33:27 +02:00
Hans-Kristian Arntzen
cd442b9c2f
Clean and fix some issues with test_shaders.py.
2018-04-27 10:31:39 +02:00
Hans-Kristian Arntzen
18958ecccb
Add test for combined-sampler-reuse on GLSL.
2018-04-27 10:31:25 +02:00
Hans-Kristian Arntzen
0280800a8f
Fix case where SampledImage would get flushed to temporary.
2018-04-27 10:06:30 +02:00
Hans-Kristian Arntzen
a090907607
Merge pull request #543 from KhronosGroup/fix-542
...
Support combined image-sampler workaround for arrays as well.
2018-04-23 12:59:51 +02:00
Hans-Kristian Arntzen
8b75e46433
Fix some formatting issues.
2018-04-23 12:34:50 +02:00
Hans-Kristian Arntzen
f56433b802
Add new tests for combined arrays of sampler + image.
2018-04-23 12:28:05 +02:00
Hans-Kristian Arntzen
a39eb4826b
Combined array of images is starting to work ...
2018-04-23 11:52:05 +02:00
Hans-Kristian Arntzen
1478847122
Change AppVeyor badge link to the correct one.
2018-04-18 17:14:51 +02:00
Hans-Kristian Arntzen
d559a8df39
Add AppVeyor status badge.
2018-04-18 17:02:50 +02:00
Hans-Kristian Arntzen
dd39d36726
Merge pull request #540 from KhronosGroup/appveyor
...
Add AppVeyor.
2018-04-18 16:58:26 +02:00
Hans-Kristian Arntzen
cc82d14ee8
Add appveyor script.
2018-04-18 16:55:07 +02:00
Hans-Kristian Arntzen
d0c829b580
Add no-opt to CTest, make test_shaders.py faster when FXC is missing.
2018-04-18 16:53:43 +02:00
Hans-Kristian Arntzen
2804d9acd7
Merge pull request #539 from KhronosGroup/fix-533
...
Add support for constexpr samplers in MSL.
2018-04-18 16:53:25 +02:00
Hans-Kristian Arntzen
e351e5c565
Use convert_to_string for lod clamp.
2018-04-18 16:31:08 +02:00
Hans-Kristian Arntzen
e30a94225f
Complete MSL constexpr samplers.
...
Deal with defaults and avoid verbose declarations.
2018-04-18 16:19:55 +02:00
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