Hans-Kristian Arntzen
91f85d3412
Begin adding float16_t support to GLSL.
2018-03-06 17:09:18 +01:00
Hans-Kristian Arntzen
b0a2de5b63
Merge pull request #483 from KhronosGroup/fix-466
...
Overhaul type_alias for MSL.
2018-03-06 16:41:04 +01:00
Hans-Kristian Arntzen
38d9d8af68
Add some more MSL test shaders.
2018-03-05 16:42:38 +01:00
Hans-Kristian Arntzen
5fe79eb59c
Update tests.
...
Adds an earlier reported shader packing failure into regression suite.
2018-03-05 16:34:42 +01:00
Hans-Kristian Arntzen
294259e2f1
Fix type aliasing on MSL.
...
Be careful about who gets to be the alias master, and don't alias types
when we have packed types in play.
2018-03-05 16:27:04 +01:00
Hans-Kristian Arntzen
c9516fa917
Fix OSX Travis.
2018-03-02 09:47:37 +01:00
grovesNL
94cd77799f
Move rename_interface_variable
to util
2018-03-01 23:47:08 -07:00
Hans-Kristian Arntzen
467c95679e
Merge pull request #480 from KhronosGroup/fix-476
...
Take execution model into account for entry point methods.
2018-03-01 14:42:16 +01:00
Hans-Kristian Arntzen
1e4db56a65
Run format_all.sh.
2018-03-01 14:03:59 +01:00
Hans-Kristian Arntzen
eecbeaa33d
Take execution model into account for entry point methods.
...
SPIR-V allows names to alias if they implement different stages.
Deprecate the old interface and replace it with a new one which takes
execution modes into account.
2018-03-01 14:00:55 +01:00
Hans-Kristian Arntzen
337150f12d
Merge pull request #479 from KhronosGroup/fix-477
...
Support Invariant for BuiltInPosition.
2018-03-01 12:53:26 +01:00
Hans-Kristian Arntzen
3c1b147272
Support Invariant for BuiltInPosition.
2018-03-01 12:31:39 +01:00
Hans-Kristian Arntzen
cae17224a0
Merge pull request #475 from KhronosGroup/fix-convert-cast
...
Fix implicit conversion bug.
2018-02-26 09:36:43 +01:00
Hans-Kristian Arntzen
e69b1aeed8
Fix implicit conversion bug.
2018-02-26 09:29:18 +01:00
Hans-Kristian Arntzen
b39c0630f3
Merge pull request #474 from KhronosGroup/fix-pointer-overload
...
Fix function overload when SPIR-V overloads on pointer type.
2018-02-25 11:16:41 +01:00
Hans-Kristian Arntzen
fda36f832b
Fix function overload when SPIR-V overloads on pointer type.
2018-02-25 10:58:22 +01:00
Hans-Kristian Arntzen
a61e728418
Merge pull request #472 from KhronosGroup/fix-446
...
Implement MatrixInverse on HLSL.
2018-02-23 17:04:09 +01:00
Hans-Kristian Arntzen
6a12ff7fb7
Fix multiple declaration of spvDet2x2 on MSL.
2018-02-23 16:52:11 +01:00
Hans-Kristian Arntzen
b380a2113a
Implement MatrixInverse on HLSL.
...
Copy-paste implementation from MSL. I assume it's correct.
2018-02-23 16:42:40 +01:00
Hans-Kristian Arntzen
6066fe486e
Merge pull request #471 from KhronosGroup/fix-462
...
Add workaround for PointCoord builtin on HLSL.
2018-02-23 16:07:28 +01:00
Hans-Kristian Arntzen
f6d08e6113
Add workaround for PointCoord builtin on HLSL.
2018-02-23 15:58:35 +01:00
Hans-Kristian Arntzen
fb196c2565
Merge pull request #470 from KhronosGroup/fix-459
...
Support spec constant array size in blocks.
2018-02-23 15:35:34 +01:00
Hans-Kristian Arntzen
dd603eab58
Support spec constant array size in blocks.
...
Won't really be correct if the spec constant is changed outside
SPIRV-Cross, but nothing we can do about that, really.
2018-02-23 15:11:45 +01:00
Hans-Kristian Arntzen
32b1c7d88b
Merge pull request #469 from KhronosGroup/fix-454
...
Handle overloaded functions which share the same OpName.
2018-02-23 14:34:01 +01:00
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