Hans-Kristian Arntzen
824d0ad8e7
Merge pull request #277 from KhronosGroup/pr-274
...
Merge PR #274 with Travis fixes
2017-09-08 09:35:26 +02:00
Hans-Kristian Arntzen
eab66fcd55
Update HLSL references.
2017-09-08 09:14:00 +02:00
Hans-Kristian Arntzen
5aa5b08dd1
Merge branch 'sm-40-cbuffers' of git://github.com/rossy/SPIRV-Cross
2017-09-08 09:13:15 +02:00
James Ross-Gowan
fdbf794a67
Use the correct cbuffer binding for HLSL SM 4.0-5.0
2017-09-07 23:58:14 +10:00
Hans-Kristian Arntzen
d1b9c5a520
Merge pull request #273 from KhronosGroup/rmw-opt-tests
...
RMW optimizations tests
2017-09-06 16:50:30 +02:00
Hans-Kristian Arntzen
3f170b35e5
Just have one environment.
2017-09-06 12:05:31 +02:00
Hans-Kristian Arntzen
58697c7573
Use specific SPIRV-Tools revision in Travis.
2017-09-06 10:58:30 +02:00
Hans-Kristian Arntzen
656a7ba1d3
Remove irrelevant test.
...
The UDIV test was testing invalid SPIR-V and recent SPIRV-Tools errors
out on it.
2017-09-06 10:56:14 +02:00
Hans-Kristian Arntzen
a2229a0327
Add regression test for RMW optimizations.
2017-09-06 09:20:55 +02:00
Hans-Kristian Arntzen
03db5c4847
Run format_all.sh.
2017-09-06 09:15:27 +02:00
Hans-Kristian Arntzen
0013b06df5
Merge pull request #272 from dsrbecky/fix-assignment-opt
...
Fix assignment optimization for logical and/or.
2017-09-06 09:13:04 +02:00
David Srbecky
e596d40cad
Fix assignment optimization for logical and/or.
...
"x = x && y" was converted to "x &= y", which is invalid.
2017-09-05 16:07:41 +01:00
Hans-Kristian Arntzen
9b04443808
Merge pull request #271 from KhronosGroup/frexp-struct
...
Support FrexpStruct/ModfStruct.
2017-09-04 10:40:28 +02:00
Hans-Kristian Arntzen
9091eadb0d
Support FrexpStruct/ModfStruct.
2017-09-04 10:27:08 +02:00
Hans-Kristian Arntzen
e4251b7fea
Merge pull request #269 from KhronosGroup/fix-268
...
Fix coherent and restrict image qualifiers for images.
2017-08-29 16:29:13 +02:00
Hans-Kristian Arntzen
11dfcb6531
Add restrict qualifier for images.
2017-08-29 15:54:22 +02:00
Hans-Kristian Arntzen
d55898ec74
Fix declaration of coherent images.
2017-08-29 15:52:59 +02:00
Hans-Kristian Arntzen
579a056e33
Merge pull request #266 from KhronosGroup/fix-265
...
Support coherent SSBO
2017-08-28 09:15:40 +02:00
Hans-Kristian Arntzen
536d888a92
Add test shader for coherent SSBO.
2017-08-28 09:02:08 +02:00
Hans-Kristian Arntzen
713bd7c2b5
Run format_all.sh.
2017-08-28 09:01:03 +02:00
Hans-Kristian Arntzen
89a29becd4
Add support for coherent SSBO qualifiers.
2017-08-28 08:59:54 +02:00
Hans-Kristian Arntzen
f0b4df00cd
Merge pull request #262 from KhronosGroup/fix-253
...
Add sampler buffer support to HLSL.
2017-08-21 10:38:04 +02:00
Hans-Kristian Arntzen
e8d2c8e710
Support samplerBuffer as function parameters in HLSL.
2017-08-21 10:26:44 +02:00
Hans-Kristian Arntzen
e8d5d71cad
Add sampler buffer support to HLSL.
2017-08-21 10:01:03 +02:00
Hans-Kristian Arntzen
d70d558292
Merge pull request #261 from KhronosGroup/fix-259
...
Fix variable scoping when dest block only uses OpPhi to read variable.
2017-08-21 09:47:18 +02:00
Hans-Kristian Arntzen
a1c0ab67eb
Fix variable scoping when dest block only uses OpPhi to read variable.
2017-08-21 09:36:53 +02:00
Hans-Kristian Arntzen
6b7b76a63f
Merge pull request #257 from KhronosGroup/fix-215
...
Add support for querying SPIR-V Capabilities and Extensions.
2017-08-15 15:48:15 +02:00
Hans-Kristian Arntzen
8d7a909c92
Add support for querying SPIR-V Capabilities and Extensions.
2017-08-15 15:27:53 +02:00
Hans-Kristian Arntzen
b0985b6a93
Merge pull request #256 from KhronosGroup/multiview
...
Add support for SPV_KHR_multiview.
2017-08-15 13:43:07 +02:00
Hans-Kristian Arntzen
d7f38ab4bf
Add support for SPV_KHR_multiview.
2017-08-15 13:28:16 +02:00
Hans-Kristian Arntzen
d36bd4fb9c
Merge pull request #255 from KhronosGroup/fix-249
...
Basic HLSL compute shader support
2017-08-15 10:43:03 +02:00
Hans-Kristian Arntzen
945425eaa8
Add some access chain tests.
2017-08-15 10:23:04 +02:00
Hans-Kristian Arntzen
4375aa3fd2
Refactor out access chain reads.
...
Prepare for matrix, array and struct loads.
2017-08-15 10:12:08 +02:00
Hans-Kristian Arntzen
af2b233582
Add test for ByteAddressBuffer vs. RWByteAddressBuffer.
2017-08-15 09:39:45 +02:00
Hans-Kristian Arntzen
e2bb5b8959
Add test for compute shader builtins.
2017-08-15 09:35:23 +02:00
Hans-Kristian Arntzen
247ab1ce24
Declare ByteAddressBuffer/RWByteAddressBuffer.
2017-08-15 09:15:23 +02:00
Hans-Kristian Arntzen
7d7f4b3b50
Emit flattened loads and stores.
2017-08-15 09:15:23 +02:00
Hans-Kristian Arntzen
3cbdbec712
Begin implementing ByteAddressBuffer flattening for HLSL.
2017-08-15 09:15:23 +02:00
Hans-Kristian Arntzen
3589c64007
Merge pull request #254 from brenwill/master
...
Fix issues #239 & #245
2017-08-12 21:19:56 +02:00
Bill Hollings
1e84a379ff
Fix issue #245 : assignment of flattened input struct.
...
Emit input struct assignment by assigning member by member from stage_in struct.
Map qualified member name from pointer type, not base type.
Add Comiler::expression_type_id() function, similar to expression_type().
2017-08-12 00:21:13 -04:00
Bill Hollings
d461ca03cc
Merge branch 'master' of https://github.com/brenwill/SPIRV-Cross
2017-08-11 14:56:28 -04:00
Bill Hollings
77f5812c55
Fix issue #239 : compilation of shaders-msl/frag/texture-proj-shadow.frag.
...
Remove unsupported sampler1DShadow from shaders-msl/frag/texture-proj-shadow.frag.
Improve error message response from unsupported depth texture formats.
Fix several integer cast warnings in unrelated code.
Run ./format_all.sh on unrelated files.
2017-08-11 14:54:58 -04:00
Bill Hollings
62d12b1e4a
Fix compilation issue with shaders-msl/frag/texture-proj-shadow.frag.
...
Remove unsupported Depth1D texture from shaders-msl/frag/texture-proj-shadow.frag.
Improve error message response from unsupported depth texture formats.
Fix several integer cast warnings in unrelated code.
Run ./format_all.sh on unrelated files.
2017-08-11 14:52:14 -04:00
Hans-Kristian Arntzen
6cda7f120b
Merge pull request #246 from KhronosGroup/fix-241
...
Unify vertex clip-coord fixups.
2017-08-11 12:42:10 +02:00
Hans-Kristian Arntzen
dd4c5ce068
Merge pull request #252 from brenwill/master
...
CompilerMSL enhancements.
2017-08-11 12:41:24 +02:00
Bill Hollings
730257cf67
Merge upstream
2017-08-10 17:27:01 -04:00
Hans-Kristian Arntzen
9dbbe7c3d7
Merge pull request #251 from KhronosGroup/fix-250
...
Preserve arguments with inout unless complete writes are made.
2017-08-09 17:33:11 +02:00
Hans-Kristian Arntzen
744d0405b0
Preserve arguments with inout unless complete writes are made.
2017-08-09 17:06:41 +02:00
Hans-Kristian Arntzen
14cd000f3d
Merge pull request #247 from KhronosGroup/fix-244
...
Support OpConstantNull.
2017-08-03 14:55:41 +02:00
Hans-Kristian Arntzen
48ccde3779
Support OpConstantNull.
2017-08-03 14:32:29 +02:00