John Kessenich
c6874320de
Bump version.
2020-05-15 02:16:13 -06:00
John Kessenich
4fa68edd68
Address #2211 : Improve the copy constructor of TVarLivePair.
2020-05-12 02:59:47 -06:00
Felix Maier
8e18714bb6
Fix Web build
2020-05-11 22:06:21 +02:00
Sebastian Neubauer
91ac60fc52
Explicitly mark some enums as unsigned
...
This allows casting from and to any unsigned value, previously this was
undefined behavior.
This fixes ubsan complaining in `TParseContext::layoutQualifierCheck`,
where `~EShLangComputeMask` is used.
2020-05-11 10:24:32 +02:00
John Kessenich
b5f003d7a3
Fix #2191 : Error check for indexing reference containing unsize array.
2020-05-01 08:19:59 -06:00
John Kessenich
2ac3c5b6d6
GLSL: Separate out swizzle handling (potentially fixing bugs).
...
Noticed this when looking at swizzles. It's at least better structure,
removing hard-to-see early returns, which might be contributing to bugs.
2020-05-01 07:35:30 -06:00
John Kessenich
7c4dc1299e
Merge branch 'master' into GL_EXT_blend_func_extended
2020-05-01 02:41:31 -06:00
Pankaj Mistry
e05cc20ec2
Add support for es extension GL_EXT_blend_func_extended
...
* Introduces builtin variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT
* Introduces builtin constant gl_MaxDualSourceDrawBuffersEXT
* enables support for layout qualifier "index" in es profile
2020-04-30 23:21:14 -07:00
John Kessenich
9fcc078724
Merge branch 'master' into GL_EXT_shader_implicit_conversions
2020-04-30 23:09:13 -06:00
pmistryNV
2c53baedbb
Add support for extension GL_EXT_shader_integer_mix ( #2203 )
2020-04-30 22:41:33 -06:00
Pankaj Mistry
2a8ead2109
Add support for extension GL_EXT_shader_implicit_conversions
...
Updated extension management in TIntermediate class.
2020-04-30 08:41:23 -07:00
John Kessenich
97ee5c88de
Fix #2201 : Improve const and copy constructor for TVarLivePair.
2020-04-30 01:59:50 -06:00
pmistryNV
39281fb710
Add support for extension GL_ARB_vertex_attrib_64bit ( #2193 )
2020-04-29 06:58:49 -06:00
pmistryNV
f03cb290ac
Add support for extension GL_ARB_texture_query_lod. ( #2194 )
2020-04-27 23:46:54 -06:00
dan sinclair
b858d41964
Remove unused Es310Desktop430 ( #2200 )
...
This variable is no longer used, remove.
2020-04-27 22:05:24 -06:00
pmistryNV
ea50f6d77e
Add support for extension GL_ARB_shading_language_packing ( #2192 )
2020-04-27 02:46:32 -06:00
John Kessenich
bcf6a2430e
Move to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README.
2020-04-27 02:12:05 -06:00
John Kessenich
52d34b4c65
Move to latest SPIR-V header, and bump glslang revision.
2020-04-24 08:46:32 -06:00
pmistryNV
7d65f09b83
Add support for extension GL_ARB_shader_storage_buffer_object ( #2184 )
...
Enable below features for GL Core version 420:
* layout qualifier "std430"
* storage qualifier "buffer"
* atomic memory functions
2020-04-22 22:46:52 -06:00
Phillip Stephens
02c70ad10e
TPpToken: Fix compiling on clang-10 ( #2189 )
2020-04-22 08:19:43 -06:00
MennoVink
c9b28b9f33
xcode warnings fix ( #2188 )
2020-04-21 07:06:12 -06:00
pmistryNV
3f4e5c4563
Add support for extension GL_ARB_shader_image_size ( #2185 )
2020-04-19 20:47:54 -06:00
pmistryNV
9f46e3dd5e
Add support for extension GL_ARB_shader_bit_encoding ( #2183 )
2020-04-17 05:24:12 -06:00
John Kessenich
4657244018
Fix #2178 : Allow specialization constants for texel offsets.
2020-04-12 22:57:07 -06:00
alelenv
75de196cec
Add support for EXT_ray_flags_primitive_culling. ( #2173 )
...
Fixes issue #2169 .
2020-04-08 22:09:20 -06:00
John Kessenich
9c3204a1fd
Error message: Finish addressing #2097 , better texture error message.
2020-04-07 02:18:23 -06:00
Ryan Harrison
b5757b9500
Remove extra semicolons ( #2170 )
...
This is causing downstream users compiler errors if they have Werror or other
particularly restrictive flags turned on.
2020-04-02 23:04:09 -06:00
Malcolm Bechard
0b66fa3b62
Shader interface matching rework to fix #2136 ( #2156 )
...
* rework how shader interface block naming rules are handled
* Fixes 2136
According to the spec, shader interfaces (uniform blocks, buffer
blocks, input blocks, output blocks) all should be matched up via
their block names across all compilation units, not instance names.
Also, all block names can be re-used between all 4 interface types
without conflict. This change makes it so all of these blocks are
matched and remapped using block name and not by instance name.
Additional the rule that matched uniform and buffer blocks must
either be anonymous or named (but not nessearily the same name) is
now imposed.
* add warning if instance names differ between matched shader interfaces
* Add test cases from #2137 which is now fixed as well.
* replace some tab characters with spaces
* buffer blocks and uniform blocks now share the same block namespace
2020-04-02 02:03:53 -06:00
John Kessenich
e157435c1e
Bump revision.
2020-03-31 00:02:31 -06:00
alelenv
f986436a90
Error assigns to objects of rayQueryEXT type.
2020-03-30 10:24:30 -07:00
dan sinclair
d50acf97c4
Remove unused variables.
...
This CL removes two unused variables from the initialization code.
2020-03-30 10:03:13 -04:00
John Kessenich
344bd0889a
Merge pull request #2162 from ntfshard/small_fix
...
Humble fix
2020-03-30 00:33:09 -06:00
John Kessenich
83855b97db
Fix #2163 : improve comments for addProcess() and the preamble.
2020-03-30 00:27:31 -06:00
ntfs.hard
1dad92000b
printf format
2020-03-30 01:48:15 +03:00
Neslisah Torosdagli
2b4d345dae
accelerationStructureEXT - issue #2152
2020-03-26 19:32:52 -04:00
Neslisah Torosdagli
915f119199
accelerationStructureEXT - issue #2152
2020-03-26 18:51:18 -04:00
Neslisah Torosdagli
7d37a68ad7
pass-by-reference updates
2020-03-26 11:08:28 -04:00
Geoffrey Martin-Noble
9b3baf9881
Add missing braces to if condition
...
The indentation implies this was the intention. Noticed the issue while trying to compile our code with -Werror -Wall
2020-03-25 20:52:43 -07:00
John Kessenich
8e26c5f50e
Merge pull request #2139 from neslimsah/master
...
GL_EXT_ray_query updates
2020-03-25 08:18:33 -06:00
Neslisah Torosdagli
f0089e5499
copyright notice changes removed from unchanged files
2020-03-24 21:50:54 -04:00
Neslisah Torosdagli
7f48ec346c
copyright notice changes removed from unchanged files
2020-03-24 12:22:27 -04:00
Neslisah Torosdagli
67c7bc4086
.travis updated to origin, rayQueryCheck removed
2020-03-24 10:24:50 -04:00
Neslisah Torosdagli
7f689bebec
const rayFlag defs used in the test cases in stead of numerical values
2020-03-23 23:09:44 -04:00
Neslisah Torosdagli
ae64363b19
rayQueryEXT function parameter
2020-03-23 21:05:26 -04:00
Neslisah Torosdagli
964c7e4a5f
rayQueryEXT assignment is allowed.
2020-03-23 20:25:52 -04:00
Kai Ninomiya
16bb8881e6
Fix build on CMake 2.8, and fix Web build
...
And suppress some warnings that are too verbose in Web builds.
2020-03-23 12:34:55 -07:00
Aaron Franke
c8274e941e
Make file formatting comply with POSIX and Unix standards
...
UTF-8, LF, no BOM, and newlines at the end of files
2020-03-21 03:20:25 -04:00
Neslisah Torosdagli
7d122c96a4
Merge branch 'master' of https://github.com/neslimsah/glslang
2020-03-20 18:35:57 -04:00
Neslisah Torosdagli
50a722818b
GL_EXT_ray_query glslang updates, and test cases added.
2020-03-20 18:23:27 -04:00
Courtney Goeltzenleuchter
d42c6ab88e
Fix MSVC build issue - remove invalid character
...
On Windows the single quote used in a comment was showing up as some
special character that the Microsoft compiler didn't like.
Bug #2140
2020-03-19 15:31:31 -06:00