John Kessenich
312dcfb070
Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions.
...
These introduce limited support for 8/16-bit types such that they can only be accessed in buffer memory and converted to/from 32-bit types.
Contributed from Khronos-internal work.
2018-07-03 13:51:31 -06:00
John Kessenich
eefab240f7
Bump revision.
2018-07-03 09:34:43 -06:00
John Kessenich
513cc4cf87
Merge branch 'HaydnTrigg-patch-1'
2018-07-02 16:13:29 -06:00
John Kessenich
6d61684f4b
Bump revision.
2018-07-02 13:49:16 -06:00
John Kessenich
c99304c5dc
Bump revision.
2018-06-19 09:47:23 -06:00
John Kessenich
ba018e6762
SPV: Fix #1399 emit ImageGatherExtended when using ConstOffsets operand
2018-06-05 08:53:36 -06:00
John Kessenich
14b85d3ff3
Fix #1395 : GLSL volatile maps to SPIR-V Volatile and Coherent.
...
The major version number was bumped in the previous commit to support
this.
2018-06-04 15:36:03 -06:00
John Kessenich
d6c975572e
Change the major revision number for next commit.
2018-06-04 15:33:31 -06:00
John Kessenich
a7eb582ac5
Bump revision.
2018-06-04 15:30:54 -06:00
John Kessenich
2aaef1221f
Bump revision.
2018-05-17 11:26:36 -06:00
John Kessenich
fd9d9ef436
Bump version.
2018-05-04 21:35:05 -06:00
John Kessenich
4c57470872
Bump revision.
2018-04-17 17:46:33 -06:00
John Kessenich
3bb4c48cd9
Bump revision.
2018-04-16 16:02:21 -06:00
John Kessenich
6cf7645c6d
Bump revision.
2018-04-13 21:01:01 -06:00
John Kessenich
461ea09943
Non-functional: Fix tabs.
2018-04-11 00:03:47 -06:00
John Kessenich
9de57c815b
Bump revision.
2018-04-10 14:20:01 -06:00
John Kessenich
11b5c31108
Update revision.
2018-04-05 19:57:40 -06:00
John Kessenich
4597fea82e
Update revision.
2018-04-05 13:50:02 -06:00
John Kessenich
95b1334aa2
Bump patch version.
2018-03-19 01:11:04 -06:00
John Kessenich
0af69da12e
Bump patch version.
2018-03-16 11:52:10 -06:00
John Kessenich
fb97d25c98
Merge branch 'feature' of https://github.com/amdrexu/glslang into amdrexu-feature
2018-03-07 14:29:45 -07:00
John Kessenich
f15fbc04f7
Merge branch 'bugfix' of https://github.com/amdrexu/glslang into amdrexu-bugfix
2018-03-07 14:25:46 -07:00
John Kessenich
56364b0850
Merge branch 'sheredom-fixup_sm_60_wording'
2018-03-07 14:21:55 -07:00
John Kessenich
ac3707921e
Revert the commits that change OpArrayLength type and bumped the version number.
...
Now, version 5.* is all connected to making the uint type, which doesn't quite work.
Generator versions 4 and 6 do not do this.
2018-03-07 11:48:25 -07:00
John Kessenich
66011cb2c2
SPV: Implement Vulkan 1.1 features and extensions.
2018-03-06 16:12:04 -07:00
John Kessenich
c6c80a6e48
Versioning: Address #1255 : Move to semantic versioning.
...
Still missing is automation and final decisions on mechanisms in general.
2018-03-05 22:23:17 -07:00
John Kessenich
97366a0df0
HLSL: Fix #770 : implicitly convert bool operands to numeric operators.
2017-04-12 22:38:24 -06:00
John Kessenich
a0c578a6df
HLSL: Fix #758 : Support character literals (except for numeric escape sequences).
2017-04-12 16:58:30 -06:00
John Kessenich
2051815bcc
HLSL: Fix #803 : Add shape conversions to the constant-initializer path.
2017-04-12 14:56:52 -06:00
John Kessenich
776c515ea5
HLSL: Support 1.#INF and -1.#INF syntax.
2017-04-12 13:40:53 -06:00
John Kessenich
b5e739c20e
HLSL: Fix boolean conversion bug and add more tests for ?:.
...
Null-conversion needs the right sized vectors to kick out with matching types.
2017-04-11 20:21:45 -06:00
John Kessenich
34718204e1
HLSL: Non-functional: add vector ? : tests.
2017-04-11 17:31:28 -06:00
John Kessenich
13075c612c
HLSL: Fix #832 : don't require terminating semicolon for cbuffer/tbuffer.
2017-04-11 09:51:32 -06:00
John Kessenich
6fa17641b5
HLSL: Emit the OpSource HLSL instruction for HLSL, using new headers.
2017-04-07 15:40:01 -06:00
John Kessenich
38a425355b
SPV: Move to latest public headers.
2017-04-06 17:21:58 -06:00
John Kessenich
4f1403ed1b
SPV: Fix #807 : use --hlsl-offsets to allow hlsl-style offsets in a buffer.
...
Corresponds to the EShMsgHlslOffsets flag in messages.
Works for both GLSL and HLSL.
2017-04-05 17:38:20 -06:00
John Kessenich
97cb85c7d6
PP: Fix #783 : Catch end-of-argument expansion in token pasting.
2017-04-04 12:28:20 -06:00
John Kessenich
82460b5e21
HLSL: Fix #805 : Support cast of scalars to structures.
...
Somewhat complex due to recognizing a general scalar, but not
replicating it for each member to avoid side effects.
2017-04-04 11:49:33 -06:00
John Kessenich
c633f644da
HLSL: Non-functional: rationalize making constructors.
...
Improves foundation for adding scalar casts.
Makes handle/make names more sane, better commented, uses more
precise subclass typing, and removes mutual recursion between
converting initializer lists and making constructors.
2017-04-03 22:17:57 -06:00
John Kessenich
2184c2f21a
Fix #287 : pin down the io-array size before checking for out of range index.
2017-04-03 14:29:20 -06:00
John Kessenich
f36542f46d
Revert "Merge pull request #779 from steve-lunarg/buffer-unsampled-fix"
...
This reverts commit 1dd65ca3983d3c361e66fbf788f050177f596d3a, reversing
changes made to 4960baaf663b18a6e0a58edb9073158ef7331930.
2017-03-31 14:39:30 -06:00
John Kessenich
7e997e2612
HLSL: Implicit bool conversions for conditional expressions and related.
...
Covers if(cond), while(cond), do-while(cond), for(;cond;), and (cond ? :).
Fixes #778 .
2017-03-30 22:52:33 -06:00
John Kessenich
8f9fdc986a
HLSL: Add namespace grammar and some basic semantics.
...
Unknown how extensive the semantics need to be yet. Need real
feedback from workloads. This is just done as part of unifying it
with the class/struct namespaces and grammar productions.
2017-03-30 16:30:17 -06:00
John Kessenich
e434ad923e
Fix #809 : smear scalar condition in OpSelect for selecting vector operands.
2017-03-30 10:16:22 -06:00
John Kessenich
4dc835c369
Non-functional: Round of adding 'const', related to more efficient getFullNamespaceName().
2017-03-30 10:16:22 -06:00
John Kessenich
aa3c64c214
Fix #800 (mostly): set of Linux warnings.
2017-03-28 09:52:38 -06:00
John Kessenich
9fb31ce8ec
Tests: strengthen the value of test for NV members.
2017-03-24 18:58:48 -06:00
John Kessenich
0e7378446b
Fix #790 : Don't emit NV-specific interface members unless enabled by extension.
2017-03-24 18:40:40 -06:00
John Kessenich
19ea56899c
Tests: Update test results.
2017-03-23 14:52:38 -06:00
John Kessenich
000c818efb
HLSL: Allow use of $Global members in between function calls.
...
This allows global initializers to use $Global members.
2017-03-22 23:21:34 -06:00