Hans-Kristian Arntzen
74107a04d1
Merge pull request #1256 from KhronosGroup/fix-1252
...
HLSL: Add a resource remapping API similar to MSL.
2020-01-09 15:35:26 +01:00
Hans-Kristian Arntzen
cc153f8d7f
HLSL: Add a resource remapping API similar to MSL.
...
Allows more flexibility of how resources are assigned without having to
remap decorations.
2020-01-09 12:41:06 +01:00
Hans-Kristian Arntzen
2bbb012e9c
MSL: Deal with sign on wave min/max.
2020-01-09 12:35:18 +01:00
Hans-Kristian Arntzen
88ddeec49a
HLSL: Deal with casting for WaveActiveMin/Max.
2020-01-09 12:35:18 +01:00
Hans-Kristian Arntzen
5253da9e63
GLSL: Deal with sign in subgroup Min/Max operations.
2020-01-09 12:35:14 +01:00
Hans-Kristian Arntzen
34ba8ea4f2
Merge pull request #1255 from KhronosGroup/fix-1254
...
HLSL: Support reading and writing complex composites from/to ByteAddressBuffers
2020-01-08 15:59:44 +01:00
Hans-Kristian Arntzen
c256525c7b
Run format_all.sh.
2020-01-08 14:27:34 +01:00
Hans-Kristian Arntzen
1cbd71b354
HLSL: Fix bug when reading and writing structs from SSBO.
2020-01-08 14:27:02 +01:00
Hans-Kristian Arntzen
151ff1e870
HLSL: Implement stores for complex composites in ByteAddressBuffers.
2020-01-08 14:17:28 +01:00
Hans-Kristian Arntzen
ca9398c122
HLSL: Support loading complex composites from ByteAddressBuffer.
2020-01-08 13:05:56 +01:00
Hans-Kristian Arntzen
b522b409ae
Run format_all.sh.
2020-01-08 10:48:30 +01:00
Hans-Kristian Arntzen
02441fe2d3
Merge pull request #1253 from KhronosGroup/fix-1249
...
MSL: Partially implement support for Component decoration in complex scenarios
2020-01-07 22:56:24 +01:00
Hans-Kristian Arntzen
c024e24d45
MSL: Deal with padded fragment output + Component decoration.
2020-01-07 17:02:12 +01:00
Hans-Kristian Arntzen
8871502a20
MSL: Explicitly don't support component packing for tessellation.
2020-01-07 16:49:19 +01:00
Hans-Kristian Arntzen
ecdfd3eb66
MSL: Don't set OrigID when emitting component packed vectors.
...
There is no unique OrigID, so we shouldn't ever need to look at this
value.
2020-01-07 14:57:19 +01:00
Hans-Kristian Arntzen
93f3265fe0
MSL: Deal with packing vectors for vertex input/fragment output.
2020-01-07 14:14:31 +01:00
Hans-Kristian Arntzen
7a69d764b0
MSL: Add trivial tests for Component decoration.
...
Verifies that Component decoration is honored for vertex outputs and
fragment inputs.
2020-01-07 11:36:51 +01:00
Hans-Kristian Arntzen
961b9014af
Merge pull request #1250 from KhronosGroup/fix-1247
...
Implement SPIR-V 1.4 OpCopyLogical
2020-01-06 16:03:07 +01:00
Hans-Kristian Arntzen
369bdf0b16
Merge pull request #1251 from KhronosGroup/fix-1244
...
Roll custom versions of isalpha/isalnum.
2020-01-06 16:01:49 +01:00
Hans-Kristian Arntzen
91e917b8ca
Fix Clang warnings.
2020-01-06 13:40:33 +01:00
Hans-Kristian Arntzen
fc4a07c822
Roll custom versions of isalpha/isalnum.
...
Avoids locale issues and avoids unexpected assertions for non-ASCII
values.
2020-01-06 13:04:57 +01:00
Hans-Kristian Arntzen
8bef6ff167
Add test shader for OpCopyLogical with packing/unpacking.
2020-01-06 12:44:18 +01:00
Hans-Kristian Arntzen
cf725b4c63
Go through access chain path for OpCopyLogical.
...
We will need to deal with packing/unpacking data when copying from/to
complex types in MSL.
2020-01-06 12:29:44 +01:00
Hans-Kristian Arntzen
9012a39b60
Basic implementation of OpCopyLogical.
2020-01-06 11:47:26 +01:00
Hans-Kristian Arntzen
437b9ad2e9
Merge pull request #1243 from daemyung/master
...
Add debug prefix on Windows
2019-12-22 18:07:07 +01:00
daemyung jang
0b5691394c
Add debug prefix on Windows
2019-12-21 08:59:03 +09:00
Hans-Kristian Arntzen
f912c32898
Merge pull request #1235 from KhronosGroup/patch-input-array-fix
...
GLSL: Fix array of input patch variables.
2019-12-10 14:28:33 +01:00
Hans-Kristian Arntzen
7c1e34f3b9
GLSL: Fix array of input patch variables.
...
Hoist out the hack to make array sizes unsized to a place where we can
differentiate patch variables from control point variables.
2019-12-10 12:02:12 +01:00
Hans-Kristian Arntzen
363035c798
Merge pull request #1233 from KhronosGroup/fix-1231
...
GLSL: Fix EmitStreamVertex/Primitive.
2019-12-09 13:29:49 +01:00
Hans-Kristian Arntzen
d7e612f91a
GLSL: Fix EmitStreamVertex/Primitive.
2019-12-09 10:49:48 +01:00
Hans-Kristian Arntzen
15b860eb1c
Merge pull request #1230 from KhronosGroup/cleanup-workgroup-barrier
...
Don't emit memoryBarrierShared() in workgroup control barriers.
2019-12-04 16:41:34 +01:00
Hans-Kristian Arntzen
00d5c78447
Remove obsolete use of AtomicCounterMemoryMask.
2019-12-04 15:30:07 +01:00
Hans-Kristian Arntzen
67b2991451
Don't emit memoryBarrierShared() in workgroup control barriers.
...
This is implied in both GL and GLES. Emitting memoryBarrierShared() was
based on earlier confusion in the spec which has since been fixed and
clarified.
2019-12-04 15:06:19 +01:00
Hans-Kristian Arntzen
faa34631cb
Merge pull request #1229 from dj2/robust_access
...
Update graphics robust access results
2019-12-04 10:20:59 +01:00
Dan Sinclair
b77be9f347
Update graphics robust access results
...
The robust access code was fixed to use a signed clamp which generates
different results in the SPIR-V cross test.
2019-12-03 16:49:43 -05:00
Hans-Kristian Arntzen
9bb9e00e8b
Merge pull request #1227 from dj2/share_test
...
Share test shader script
2019-12-03 21:25:10 +01:00
Hans-Kristian Arntzen
a2000c1107
Merge pull request #1228 from KhronosGroup/fix-1225
...
Fix MSVC warnings when building without exceptions.
2019-12-03 21:23:36 +01:00
Hans-Kristian Arntzen
93d68e9156
Fix MSVC warnings when building without exceptions.
...
Mark report_and_abort as noreturn.
2019-12-03 21:21:01 +01:00
Dan Sinclair
5e8b95fed7
Share test shader script
...
This CL adds the ability to pass options to test_shader.sh. The
update_test_shaders.sh script is then changed to call test_shaders.sh
with the --update flag.
This removes the duplication of code between test_shaders.sh and
update_test_shaders.sh.
2019-12-03 15:19:03 -05:00
Hans-Kristian Arntzen
d6e71863c3
Update update_test_shaders.sh as well.
2019-12-03 21:11:12 +01:00
Hans-Kristian Arntzen
dc7942721a
Merge branch 'roll_deps' of git://github.com/dj2/SPIRV-Cross
2019-12-03 21:03:41 +01:00
Dan Sinclair
f40c629821
Roll SPIRV-Tools, SPIRV-Headers and GLSLang
...
This CL updates the three depdencies and updates the tests to handle the
new validation errors which are produced.
2019-12-02 16:17:21 -05:00
Hans-Kristian Arntzen
4b51963c54
Merge pull request #1224 from KhronosGroup/fix-1223
...
MSL: Support ClipDistance as an input stage variable.
2019-12-02 17:49:45 +01:00
Hans-Kristian Arntzen
99084dcee4
Fix uninitialized memory issue.
...
Seen on Travis with MSVC Win32 Release builds only.
2019-12-02 15:54:46 +01:00
Hans-Kristian Arntzen
a3fe9756d2
MSL: Support ClipDistance as an input stage variable.
...
MSL does not support this, so we have to emulate it by passing it around
as a varying between stages. We use a special "user(clipN)" attribute
for this rather than locN which is used for user varyings.
2019-12-02 13:19:42 +01:00
Hans-Kristian Arntzen
ea68f3aa7e
Merge pull request #1220 from akioCL/master
...
Added --msl-decoration-binding command line argument
2019-11-29 22:45:59 +01:00
Hans-Kristian Arntzen
6ad5ba7782
Merge pull request #1222 from KhronosGroup/stof-utof-fix
...
Fix sign handling for S/UToF.
2019-11-28 13:56:44 +01:00
Hans-Kristian Arntzen
4edb99d476
Fix sign handling for S/UToF.
2019-11-28 13:55:28 +01:00
Hans-Kristian Arntzen
e46c8937ee
Merge pull request #1221 from KhronosGroup/fix-1219
...
MSL: Fix automatic binding allocation for image atomic buffers.
2019-11-28 13:21:03 +01:00
Hans-Kristian Arntzen
b85ab5f5ff
MSL: Fix automatic binding allocation for image atomic buffers.
...
The Primary decoration was used by the atomic buffer, causing the
texture binding to be potentially overlapping with other resources.
2019-11-28 11:07:44 +01:00