Hans-Kristian Arntzen
a04bdcc7f7
Handle overloaded functions which share the same OpName.
...
Awkward, but legal SPIR-V.
2018-02-23 14:15:51 +01:00
Hans-Kristian Arntzen
f887b200bb
Merge pull request #468 from KhronosGroup/fix-461
...
Support special float constants (NaN/Inf).
2018-02-23 13:59:44 +01:00
Hans-Kristian Arntzen
4543dacca3
Run format_all.sh.
2018-02-23 13:13:02 +01:00
Hans-Kristian Arntzen
047ad7df0f
Support special float constants (NaN/Inf).
2018-02-23 13:06:20 +01:00
Hans-Kristian Arntzen
3f64f56037
Merge pull request #465 from KhronosGroup/fix-445
...
Overhaul Clip/CullDistance in GLSL and HLSL.
2018-02-22 18:02:03 +01:00
Hans-Kristian Arntzen
0673f27b7c
Fix incorrect loop range.
2018-02-22 17:00:41 +01:00
Hans-Kristian Arntzen
114c2c5e37
Add clip/cull-distance support to HLSL.
2018-02-22 16:40:04 +01:00
Hans-Kristian Arntzen
fb3f92a3ff
Overhaul clip/cull distance support in GLSL.
2018-02-22 14:36:50 +01:00
Hans-Kristian Arntzen
11bbccb54a
Merge pull request #464 from billhollings/master
...
CompilerMSL remove incorrect packing of non-interface type-aliased structs.
2018-02-22 09:35:52 +01:00
Bill Hollings
50ef6cd95f
CompilerMSL remove incorrect packing of non-interface type-aliased structs.
2018-02-21 17:52:03 -05:00
Hans-Kristian Arntzen
3925fe88e9
Merge pull request #460 from KhronosGroup/fix-424
...
Implement texelFetch(texture2D) workaround on GLSL.
2018-02-21 14:01:09 +01:00
Hans-Kristian Arntzen
47b37423a2
Run format_all.sh.
2018-02-21 13:46:16 +01:00
Hans-Kristian Arntzen
1a2e4de7a5
Add test for texelFetch without sampler.
2018-02-21 13:45:59 +01:00
Hans-Kristian Arntzen
4db7061dd1
Begin implementing texelFetch(texture2D) workaround on GLSL.
2018-02-21 13:08:30 +01:00
Hans-Kristian Arntzen
d871a89886
Remove "EXPERIMENTAL" tag from MSL/HLSL.
...
These backends have been useful enough for a while,
and the experimental tag has been reported to be off-putting.
2018-02-20 16:19:48 +01:00
Hans-Kristian Arntzen
218b0a5ca0
Merge pull request #455 from KhronosGroup/fix-452
...
Implement OpFRem.
2018-02-15 14:48:25 +01:00
Hans-Kristian Arntzen
8a3bef2bd6
Add OpFRem tests.
2018-02-15 13:36:59 +01:00
Hans-Kristian Arntzen
54a065bb5f
Run format_all.sh.
2018-02-15 13:32:49 +01:00
Hans-Kristian Arntzen
3fa6cc8f2c
Implement FRem.
2018-02-15 13:31:29 +01:00
Hans-Kristian Arntzen
a9a6bca0f5
Merge pull request #453 from KhronosGroup/fix-444
...
Add IsFrontFace support to HLSL.
2018-02-15 13:14:28 +01:00
Hans-Kristian Arntzen
843e34b604
Add IsFrontFace support to HLSL.
2018-02-15 12:42:56 +01:00
Hans-Kristian Arntzen
3d0c61fac1
Merge pull request #451 from KhronosGroup/fix-437
...
Fix case where hoisted temporaries were used before being declared.
2018-02-15 11:16:53 +01:00
Hans-Kristian Arntzen
636cc30088
Fix case where hoisted temporaries were used before being declared.
2018-02-15 10:52:56 +01:00
Hans-Kristian Arntzen
4d1c5ada03
Merge pull request #450 from jodavis42/OpCopyMemoryCrash
...
Null crash fix in OpCopyMemory.
2018-02-14 22:05:50 +01:00
joshua.davis
b4b629bc35
Null crash fix in OpCopyMemory.
2018-02-14 10:09:58 -08:00
Hans-Kristian Arntzen
6a0f6980ef
Set width when creating NumWorkgroups buffer.
2018-02-14 09:22:47 +01:00
Hans-Kristian Arntzen
2bda0d5b2e
Merge pull request #449 from billhollings/master
...
CompilerMSL support gl_SampleMask and convert it to scalar uint from array.
2018-02-14 09:19:20 +01:00
Bill Hollings
2964e328e6
CompilerMSL support gl_SampleMask and convert it to scalar uint from array.
2018-02-13 14:44:40 -05:00
Hans-Kristian Arntzen
64d30836c8
Merge pull request #448 from billhollings/master
...
MSL support for smaller offsets for 3-row row-major matrices (fix issue #436 ).
2018-02-13 09:14:44 +01:00
Bill Hollings
b453348370
Merge branch 'master' of https://github.com/billhollings/SPIRV-Cross
2018-02-11 16:54:25 -05:00
Bill Hollings
607b0d6d42
CompilerMSL support smaller offsets for 3-row row-major matrices.
...
Support MSL typedefs to declare 3-row row-major matrices as 3-column matrices.
Allow those matrices to be decorated as packed.
Support transposing those matrices when used.
Modify how member alignments are calculated.
2018-02-11 16:52:57 -05:00
Hans-Kristian Arntzen
7be30aadbd
Merge pull request #442 from KhronosGroup/fix-435
...
Implement subpassLoad in HLSL and MSL.
2018-02-10 11:26:13 +01:00
Hans-Kristian Arntzen
a3104e98f9
Also check that type we load is an image.
2018-02-10 11:12:05 +01:00
Hans-Kristian Arntzen
a3ae861844
Fix depth image usage in MSL for separate image/samplers.
2018-02-10 10:55:10 +01:00
Hans-Kristian Arntzen
702e08671b
Support passing implicit frag_coord arguments down to functions.
2018-02-10 10:55:09 +01:00
Hans-Kristian Arntzen
0912427046
Begin implementing subpassLoad in MSL.
2018-02-10 10:54:56 +01:00
Hans-Kristian Arntzen
18a594a76b
Implement subpass input support in HLSL.
2018-02-10 10:54:42 +01:00
Hans-Kristian Arntzen
f4bce688d5
Merge pull request #433 from KhronosGroup/fix-428
...
Support returning arrays from functions in GLSL/MSL, refactor array copies in MSL.
2018-02-10 10:52:14 +01:00
Hans-Kristian Arntzen
c9db3e5521
Overload on constant storage.
2018-02-08 17:58:46 +01:00
Hans-Kristian Arntzen
b2c9487b0f
Attempt to deduce constant/thread storage.
2018-02-08 17:07:50 +01:00
Hans-Kristian Arntzen
1a9c960058
MSL cannot declare inline arrays except in certain cases.
2018-02-08 13:06:29 +01:00
Hans-Kristian Arntzen
156dd905fd
Implicit return value takes thread storage.
2018-02-08 12:22:08 +01:00
Hans-Kristian Arntzen
d89b79025b
Fix wrong function declaration in MSL.
2018-02-08 12:22:08 +01:00
Hans-Kristian Arntzen
00ccd590ee
Return arrays in HLSL/MSL by writing to an output variable instead.
2018-02-08 12:22:08 +01:00
Hans-Kristian Arntzen
9fa91f7e1c
Support returning arrays from functions in GLSL/MSL.
...
Not possible in HLSL apparently, need workaround ...
2018-02-08 12:22:08 +01:00
Hans-Kristian Arntzen
ed6b7755cd
Merge pull request #417 from msiglreith/root_constants_overwrite
...
hlsl: Support custom root constant layout
2018-02-07 16:18:03 +01:00
msiglreith
369f5f657e
Add missing include
2018-02-07 15:56:47 +01:00
msiglreith
d096f5cafe
hlsl: Support custom root constant layout
2018-02-07 15:21:52 +01:00
Hans-Kristian Arntzen
4b58f65af7
Merge pull request #438 from zeux/msvc-warning-fix
...
Fix MSVC 2017 warning
2018-02-07 13:01:25 +01:00
Arseny Kapoulkine
24cf3080cd
Fix MSVC 2015 warning
...
Fixes the following warning:
> C4146: unary minus operator applied to unsigned type, result still unsigned
2018-02-06 21:43:24 -08:00