Hans-Kristian Arntzen
|
47081f810a
|
Fix GatherDref on GLSL.
|
2018-04-30 12:45:23 +02:00 |
Hans-Kristian Arntzen
|
e8e58844d4
|
Rewrite everything to use Bitset rather than uint64_t.
|
2018-03-12 13:24:14 +01:00 |
Hans-Kristian Arntzen
|
922420e346
|
Disallow arrays and structs from becoming loop variables.
Fixes awkward code-gen issue.
|
2018-03-07 14:54:11 +01:00 |
Hans-Kristian Arntzen
|
047ad7df0f
|
Support special float constants (NaN/Inf).
|
2018-02-23 13:06:20 +01:00 |
Hans-Kristian Arntzen
|
843e34b604
|
Add IsFrontFace support to HLSL.
|
2018-02-15 12:42:56 +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
|
5d9df6a31c
|
Do not declare constant composites inline in HLSL.
Move arrays and structs out to their own global static constants.
Also, replace illegal names in HLSL as well.
|
2018-02-02 10:12:26 +01:00 |
Hans-Kristian Arntzen
|
af0a887997
|
Add test for false loop init.
Clean up how for loop variables are declared.
|
2018-01-23 21:15:09 +01:00 |
Hans-Kristian Arntzen
|
3c52771aee
|
Make sure image integer coords are int, not uint.
HLSL can emit uint here.
|
2017-12-01 15:02:50 +01:00 |
Hans-Kristian Arntzen
|
9091eadb0d
|
Support FrexpStruct/ModfStruct.
|
2017-09-04 10:27:08 +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
|
6ff9007311
|
Fix unary enclosures.
|
2017-07-24 10:17:19 +02:00 |
Hans-Kristian Arntzen
|
c8d60914c4
|
Add support for SampleId/SampleMask/SamplePosition builtins.
|
2017-07-24 10:07:31 +02:00 |
David Srbecky
|
77b5b4446b
|
Always make a copy when handling OpCompositeInsert
The modified object might not be mutable (e.g. shader input).
Added a test for the case when this happens.
|
2017-06-26 18:32:53 +01:00 |
Hans-Kristian Arntzen
|
de33d89074
|
Add explicit in/out locations everywhere.
Needed for newer glslang. With Vulkan semantics for SPIR-V, all
locations must be explicitly defined.
|
2017-06-21 09:39:08 +02:00 |
Hans-Kristian Arntzen
|
45c797d54c
|
Improve debuggability of Travis CI when things go wrong.
|
2016-12-16 13:48:30 +01:00 |
Hans-Kristian Arntzen
|
d11b8aa3ef
|
Optimize += 1, -= 1 to ++, --.
Purely cosmetic, but easier to read.
|
2016-12-16 13:24:49 +01:00 |
Hans-Kristian Arntzen
|
a714d424d0
|
Add directed test for for-loop-init.
|
2016-12-16 12:43:12 +01:00 |
Hans-Kristian Arntzen
|
d5dc5f3f1c
|
Fix issue with new glslang behavior for samplers as parameters.
Check case where storage class uniform is passed as function parameter.
|
2016-07-05 13:21:26 +02:00 |
Hans-Kristian Arntzen
|
4bb9f092ab
|
Only split expression in OpCompositeExtract if we forward the temporary.
|
2016-06-23 12:13:41 +02:00 |
Hans-Kristian Arntzen
|
9d4360fddf
|
Fix sampler2DMS texelFetch.
|
2016-06-22 12:35:58 +02:00 |
Hans-Kristian Arntzen
|
75471fbb98
|
Initial commit.
|
2016-03-11 16:30:27 +01:00 |