platform/upstream/glslang.git
4 years agoBump version numbers.
John Kessenich [Tue, 16 Jun 2020 12:22:23 +0000 (06:22 -0600)]
Bump version numbers.

4 years agoMerge pull request #2271 from ben-clayton/fold-hlsl
John Kessenich [Tue, 16 Jun 2020 10:20:32 +0000 (04:20 -0600)]
Merge pull request #2271 from ben-clayton/fold-hlsl

Untangle build target cyclic dependencies (approach #2)

4 years agoBump version.
John Kessenich [Tue, 16 Jun 2020 10:18:48 +0000 (04:18 -0600)]
Bump version.

4 years agoCMake: Fold HLSL source into glslang
Ben Clayton [Mon, 15 Jun 2020 12:54:55 +0000 (13:54 +0100)]
CMake: Fold HLSL source into glslang

... and stub the HLSL target.

Fixes the building of shared libraries.

This breaks the cyclic dependency between the `glslang` and `hlsl` targets (by essentially removing the `hlsl` target).

The `BUILD.gn` and `BUILD.bazel` build rules already pull the `HLSL` source into the `glslang` target.

`Android.mk` is the only remaining build config that has a dedicated `HLSL` target, but this is explicity static and does not suffer the same link-time issues with the cyclic dependency (we may wish to stub this target too).

Related issue: #1484, #2147
Related PR: #2267

4 years agoRemove unused variable. (#2273)
dan sinclair [Mon, 15 Jun 2020 18:10:44 +0000 (14:10 -0400)]
Remove unused variable. (#2273)

The `isMat` variable is no longer used in the HLSL parser. Removed.

4 years agoRemove unused function, BaseTypeName (#2272)
Ryan Harrison [Mon, 15 Jun 2020 16:58:02 +0000 (12:58 -0400)]
Remove unused function, BaseTypeName (#2272)

4 years agoHLSL: Remove support for having GLSL versions of HLSL intrinsics.
John Kessenich [Mon, 15 Jun 2020 15:09:22 +0000 (09:09 -0600)]
HLSL: Remove support for having GLSL versions of HLSL intrinsics.

Related to PR #2265.

4 years agoHLSL: Fix incorrect case in name of DX9-style cube sampler type (#2265)
rdb [Mon, 15 Jun 2020 12:39:43 +0000 (14:39 +0200)]
HLSL: Fix incorrect case in name of DX9-style cube sampler type (#2265)

4 years agoC Interface: Split SPIR-V C interface to own file
Ben Clayton [Wed, 10 Jun 2020 15:45:15 +0000 (16:45 +0100)]
C Interface: Split SPIR-V C interface to own file

This breaks a cyclic dependency between the SPIRV and glslang build targets.

4 years agoFix signed / unsigned mismatch warning (#2266)
Ben Clayton [Thu, 11 Jun 2020 03:41:47 +0000 (04:41 +0100)]
Fix signed / unsigned mismatch warning (#2266)

4 years agoBump code gen version, due to removal of OpEntryPoint operands.
John Kessenich [Wed, 10 Jun 2020 13:38:31 +0000 (07:38 -0600)]
Bump code gen version, due to removal of OpEntryPoint operands.

4 years agoFix #2264: OpEntryPoint incorrectly including function parameters.
John Kessenich [Wed, 10 Jun 2020 13:15:24 +0000 (07:15 -0600)]
Fix #2264: OpEntryPoint incorrectly including function parameters.

4 years agoUse correct type for var storing returned value (#2263)
Ryan Harrison [Tue, 9 Jun 2020 16:01:43 +0000 (12:01 -0400)]
Use correct type for var storing returned value (#2263)

4 years agoFix xfb stride limit issue (#2088)
Roy.li [Tue, 9 Jun 2020 08:30:14 +0000 (16:30 +0800)]
Fix xfb stride limit issue (#2088)

* Fix xfb_stride limit issue

Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440.

* Add negative test for xfb limit

* update case result

* Fix compile information issue

Fix compile information issue and test comment issue.

* remove es profile condition, use profileRequires to limit.

* Fix xfb_stride limit issue

Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440.
Add negative test for xfb limit

* Move es profile check out of version number check

* Adjust error information and related cases

remove the new version check, refine original version check.

* Revert condition for vulkan, and remove redundant test code.

4 years agoAdd Shared/Std140 SSBO process & top-level array elements related (#2231)
Chow [Thu, 4 Jun 2020 07:47:18 +0000 (15:47 +0800)]
Add Shared/Std140 SSBO process & top-level array elements related (#2231)

* Add Shared/Std140 SSBO process & top-level array elements related
process

1.Add process options for shared/std140 ssbo, following ubo process
2.Add IO Variables reflection option, would keep all input/output
variables in reflection
3.Add Top-level related process, fix top-level array size issues,
following spec
4.Split ssbo/ubo reflection options, merge blowup expanding all into
function blowupActiveAggregate to allow other functions keep same entry
format.

Add options in StandAlone and test symbols.

1. Add options in StandAlone for std140/shared ubo/ssbo and all io variables reflection.
2. Add test for ssbo. When EShReflectionSharedStd140SSBO turns on, generated symbol and output would be different, to remind the difference. Defaultly disabled and nothing would change, nor blocking normal test.

* Add options in runtest script, refresh test results.

Add options in StandAlone:
--reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo

refresh test results.
Now the index, size of unsized array are expected.

4 years agospirv: Support initializers on uniforms (#1588)
Alejandro Piñeiro [Thu, 4 Jun 2020 07:39:31 +0000 (09:39 +0200)]
spirv: Support initializers on uniforms (#1588)

If a uniform has an initializer it will now be given as the optional
initializer operand to the OpVariable instruction.

Fixes: https://github.com/KhronosGroup/glslang/issues/1259

Signed-off-by: Neil Roberts <nroberts@igalia.com> (the code)
Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> (the tests)
Signed-off-by: Arcady Goldmints-Orlov <agoldmints@igalia.com>
Co-authored-by: Neil Roberts <nroberts@igalia.com>
4 years agoAdd SPIR-V capabilities needed for spec constants (#2199)
Ricardo Garcia [Wed, 3 Jun 2020 13:52:55 +0000 (15:52 +0200)]
Add SPIR-V capabilities needed for spec constants (#2199)

Fixes #2198.

4 years agoHLSL: Add better diagnostic when using in/out qualifiers in global scope (#2258)
rdb [Tue, 2 Jun 2020 06:32:35 +0000 (08:32 +0200)]
HLSL: Add better diagnostic when using in/out qualifiers in global scope (#2258)

4 years agoHLSL: Recognize POSITION semantic et al in DX9 compatibility mode (#2255)
rdb [Tue, 2 Jun 2020 06:30:50 +0000 (08:30 +0200)]
HLSL: Recognize POSITION semantic et al in DX9 compatibility mode (#2255)

4 years agoHLSL: fix handling of uniform qualifier in entry point parameters (#2254)
rdb [Tue, 2 Jun 2020 06:30:07 +0000 (08:30 +0200)]
HLSL: fix handling of uniform qualifier in entry point parameters (#2254)

* HLSL: Fix handling of uniforms in entry point parameters

* HLSL: fix handling of "uniform in"

* Tests: Update baseResults of hlsl.function.frag.out for #2254

* HLSL: fix uniforms in function parameters for opaque types

4 years agoAdd default descriptorset decoration for acceleration structure (#2257)
alelenv [Tue, 2 Jun 2020 06:24:41 +0000 (23:24 -0700)]
Add default descriptorset decoration for acceleration structure (#2257)

variables.

4 years agoUpdate news for header location change and recommendation.
John Kessenich [Tue, 2 Jun 2020 05:24:37 +0000 (23:24 -0600)]
Update news for header location change and recommendation.

4 years agoRemove install to the SPIRV/ folder. (#2256)
dan sinclair [Tue, 2 Jun 2020 05:21:03 +0000 (01:21 -0400)]
Remove install to the SPIRV/ folder. (#2256)

This CL updates the build scripts to only install to glslang/SPIRV
instead of also installing to the SPIRV/ folder. The deprecation notice
is also removed.

Note, this may cause downstream build issues if include directories have
not been updated

Fixes #1964 #2216

4 years agoEXT_ray_tracing requires spv1.4 (#2237)
alelenv [Thu, 28 May 2020 15:18:07 +0000 (08:18 -0700)]
EXT_ray_tracing requires spv1.4 (#2237)

* EXT_ray_tracing requires spv1.4

* Fix typo.

* Add extension data table.

* Updated feedback #2.

4 years agofix warning unused parameter in release build (#2251)
nihui [Thu, 28 May 2020 12:12:01 +0000 (20:12 +0800)]
fix warning unused parameter in release build (#2251)

4 years agoFix missing patch decoration for TessFactor PCF arg (#2249)
greg-lunarg [Thu, 28 May 2020 04:12:42 +0000 (22:12 -0600)]
Fix missing patch decoration for TessFactor PCF arg (#2249)

Fixes #1553

4 years agoUpdate SPIRV-Tools to stable. Also SPIRV-Headers to TOT. (#2250)
greg-lunarg [Thu, 28 May 2020 04:10:36 +0000 (22:10 -0600)]
Update SPIRV-Tools to stable. Also SPIRV-Headers to TOT. (#2250)

4 years agoUpdate spirv tools (#2246)
alan-baker [Mon, 25 May 2020 16:18:42 +0000 (12:18 -0400)]
Update spirv tools (#2246)

* Update known good SPIRV-Tools

* Update test expectations

4 years agoReorder member init to match decl order (#2241)
David Neto [Thu, 21 May 2020 15:17:30 +0000 (08:17 -0700)]
Reorder member init to match decl order (#2241)

Fixes field reorder warning.

4 years agoAdd support for primitive culling layout qualifier. (#2220)
alelenv [Thu, 21 May 2020 11:38:41 +0000 (04:38 -0700)]
Add support for primitive culling layout qualifier. (#2220)

* Add support for primitive culling layout qualifier.

* Add error checks for primitive flags and negative test.

4 years agoReplace incorrect uint32_t with correct int vars (#2235)
Ryan Harrison [Thu, 21 May 2020 11:37:13 +0000 (07:37 -0400)]
Replace incorrect uint32_t with correct int vars (#2235)

4 years agoDo not build glslang-testsuite when ENABLE_CTEST is disabled (#2240)
nihui [Thu, 21 May 2020 11:33:17 +0000 (19:33 +0800)]
Do not build glslang-testsuite when ENABLE_CTEST is disabled (#2240)

4 years agofix incorrect error when multiple compilation units don't declare layouts (#2238)
Malcolm Bechard [Thu, 21 May 2020 06:10:33 +0000 (02:10 -0400)]
fix incorrect error when multiple compilation units don't declare layouts (#2238)

when using multiple compilation units, input/output layouts don't need
to be declared in every unit.

4 years agoAdd an option to make Exceptions enabled (#2239)
nihui [Thu, 21 May 2020 05:55:24 +0000 (13:55 +0800)]
Add an option to make Exceptions enabled (#2239)

* Add an option to make Exceptions enabled

* /EHsc enable exceptions since vs2003

4 years agoFix #2227, which was coded incorrectly, to be simpler/safer.
John Kessenich [Wed, 20 May 2020 07:56:11 +0000 (01:56 -0600)]
Fix #2227, which was coded incorrectly, to be simpler/safer.

4 years agoBuild: Fix #2228, by correcting the type used.
John Kessenich [Wed, 20 May 2020 04:23:07 +0000 (22:23 -0600)]
Build: Fix #2228, by correcting the type used.

4 years agoCode refine. (#2227)
Roy.li [Wed, 20 May 2020 04:11:12 +0000 (12:11 +0800)]
Code refine. (#2227)

4 years agoAdd check for DOUBLE in low versions (#2223)
Chow [Mon, 18 May 2020 09:41:52 +0000 (17:41 +0800)]
Add check for DOUBLE in low versions (#2223)

Add check for DOUBLE in low versions, fix issue #2206

4 years agoFlatten all interface variables (#2217)
greg-lunarg [Mon, 18 May 2020 08:13:10 +0000 (02:13 -0600)]
Flatten all interface variables (#2217)

Specifically, add flattening of arrayed io for geometry and
tesselation shaders. Previously some interface structs just had
builtins split out which caused some interfaces to not be exactly
the same as that of flattened adjacent stages, affecting validation
and correctness.

This obviates builtin splitting. That will be removed in a followup
commit. It was left in for this commit to better exhibit the functional
changes that were made.

Fixes #1660.

4 years agoBump version.
John Kessenich [Mon, 18 May 2020 08:12:35 +0000 (02:12 -0600)]
Bump version.

4 years agoReserve unused std140 uniform block in reflection, and fix uniform block matrix layou...
Roy.li [Fri, 15 May 2020 08:26:48 +0000 (16:26 +0800)]
Reserve unused std140 uniform block in reflection, and fix uniform block matrix layout (#2041)

According to the spec glsl4.60.7:
4.4.5. Uniform and Shader Storage Block Layout Qualifiers:
"The packed qualifier overrides only std140, std430, and shared; other qualifiers are inherited.
When packed is used, no shareable layout is guaranteed. The compiler and linker can optimize
memory use based on what variables actively get used and on other criteria. Offsets must be
queried, as there is no other way of guaranteeing where (and which) variables reside within the
block"

we should reserve std140 block and shared block in reflection.

According to the spec glsl4.60.7:
4.4.5. Uniform and Shader Storage Block Layout Qualifiers:
"The row_major and column_major qualifiers only affect the layout of matrices, including all
matrices contained in structures and arrays they are applied to, to all depths of nesting. These
qualifiers can be applied to other types, but will have no effect."

We need ensure all matrix block member been effect.

Support EShMsgKeepUncalled in reflection

EShMsgKeepUncalled  is a link message for link program.
We need only one option to control uncalled function optimization.
If we set EShMsgKeepUncalled as false in link time, linker won't be keep the uncall function sequence in AST,  and if we set EShMsgKeepUncalled as true in link time, linker will keep all uncalled function sequence in AST.
So, in reflecte time, we just only travers all function sequence. It make EShMsgKeepUncalled  only work at linker, and can effect reflection.

Recursively layout packing to "block member"

layout packing isn't set recursively, it causes TReflection::getOffsets doesn't work correctly.

4 years agoBump version.
John Kessenich [Fri, 15 May 2020 08:02:50 +0000 (02:02 -0600)]
Bump version.

4 years agoMove to newer version of SPIRV-Tools
Jaebaek Seo [Thu, 14 May 2020 17:06:05 +0000 (13:06 -0400)]
Move to newer version of SPIRV-Tools

* Update tests according to spirv-opt update

We refactored function inlining pass of spirv-opt and it results in
different numbering of result ids in SPIR-V code. This commit updates
test cases to avoid a test failure according to the spirv-opt update.

* Update known good

4 years agoAddress #2211: Improve the copy constructor of TVarLivePair.
John Kessenich [Tue, 12 May 2020 08:48:00 +0000 (02:48 -0600)]
Address #2211: Improve the copy constructor of TVarLivePair.

4 years agoMerge pull request #2214 from maierfelix/master
John Kessenich [Tue, 12 May 2020 03:55:22 +0000 (21:55 -0600)]
Merge pull request #2214 from maierfelix/master

Fix Web build

4 years agoFix Web build
Felix Maier [Mon, 11 May 2020 20:06:21 +0000 (22:06 +0200)]
Fix Web build

4 years agoMerge pull request #2210 from Flakebi/ubsan
John Kessenich [Mon, 11 May 2020 16:43:58 +0000 (10:43 -0600)]
Merge pull request #2210 from Flakebi/ubsan

Explicitly mark EShLanguageMask as unsigned

4 years agoExplicitly mark some enums as unsigned
Sebastian Neubauer [Fri, 8 May 2020 11:52:18 +0000 (13:52 +0200)]
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.

4 years agoFix #2191: Error check for indexing reference containing unsize array.
John Kessenich [Fri, 1 May 2020 14:19:59 +0000 (08:19 -0600)]
Fix #2191: Error check for indexing reference containing unsize array.

4 years agoGLSL: Separate out swizzle handling (potentially fixing bugs).
John Kessenich [Fri, 1 May 2020 09:07:54 +0000 (03:07 -0600)]
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.

4 years agoMerge pull request #2205 from pmistryNV/GL_EXT_blend_func_extended
John Kessenich [Fri, 1 May 2020 08:42:49 +0000 (02:42 -0600)]
Merge pull request #2205 from pmistryNV/GL_EXT_blend_func_extended

Add support for es extension GL_EXT_blend_func_extended

4 years agoMerge branch 'master' into GL_EXT_blend_func_extended
John Kessenich [Fri, 1 May 2020 08:41:31 +0000 (02:41 -0600)]
Merge branch 'master' into GL_EXT_blend_func_extended

4 years agoMerge pull request #2204 from pmistryNV/GL_EXT_shader_implicit_conversions
John Kessenich [Fri, 1 May 2020 08:40:36 +0000 (02:40 -0600)]
Merge pull request #2204 from pmistryNV/GL_EXT_shader_implicit_conversions

Add support for extension GL_EXT_shader_implicit_conversions

4 years agoAdd support for es extension GL_EXT_blend_func_extended
Pankaj Mistry [Tue, 21 Apr 2020 18:33:57 +0000 (11:33 -0700)]
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

4 years agoMerge branch 'master' into GL_EXT_shader_implicit_conversions
John Kessenich [Fri, 1 May 2020 05:09:13 +0000 (23:09 -0600)]
Merge branch 'master' into GL_EXT_shader_implicit_conversions

4 years agoAdd support for extension GL_EXT_shader_integer_mix (#2203)
pmistryNV [Fri, 1 May 2020 04:41:33 +0000 (21:41 -0700)]
Add support for extension GL_EXT_shader_integer_mix (#2203)

4 years agoAdd support for extension GL_EXT_shader_implicit_conversions
Pankaj Mistry [Mon, 27 Apr 2020 00:52:31 +0000 (17:52 -0700)]
Add support for extension GL_EXT_shader_implicit_conversions
Updated extension management in TIntermediate class.

4 years agoFix #2201: Improve const and copy constructor for TVarLivePair.
John Kessenich [Thu, 30 Apr 2020 07:56:38 +0000 (01:56 -0600)]
Fix #2201: Improve const and copy constructor for TVarLivePair.

4 years agoAdd support for extension GL_ARB_vertex_attrib_64bit (#2193)
pmistryNV [Wed, 29 Apr 2020 12:58:49 +0000 (05:58 -0700)]
Add support for extension GL_ARB_vertex_attrib_64bit (#2193)

4 years agoAdd support for extension GL_ARB_texture_query_lod. (#2194)
pmistryNV [Tue, 28 Apr 2020 05:46:54 +0000 (22:46 -0700)]
Add support for extension GL_ARB_texture_query_lod. (#2194)

4 years agoRemove unused Es310Desktop430 (#2200)
dan sinclair [Tue, 28 Apr 2020 04:05:24 +0000 (00:05 -0400)]
Remove unused Es310Desktop430 (#2200)

This variable is no longer used, remove.

4 years agoAdd support for extension GL_ARB_shading_language_packing (#2192)
pmistryNV [Mon, 27 Apr 2020 08:46:32 +0000 (01:46 -0700)]
Add support for extension GL_ARB_shading_language_packing (#2192)

4 years agoMove to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README.
John Kessenich [Mon, 27 Apr 2020 08:12:05 +0000 (02:12 -0600)]
Move to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README.

4 years agoNote about Build Status.
John Kessenich [Fri, 24 Apr 2020 18:01:14 +0000 (12:01 -0600)]
Note about Build Status.

4 years agoMove to latest SPIR-V header, and bump glslang revision.
John Kessenich [Fri, 24 Apr 2020 14:46:32 +0000 (08:46 -0600)]
Move to latest SPIR-V header, and bump glslang revision.

4 years agoAdd support for extension GL_ARB_shader_storage_buffer_object (#2184)
pmistryNV [Thu, 23 Apr 2020 04:46:52 +0000 (21:46 -0700)]
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

4 years agoTPpToken: Fix compiling on clang-10 (#2189)
Phillip Stephens [Wed, 22 Apr 2020 14:19:43 +0000 (07:19 -0700)]
TPpToken: Fix compiling on clang-10 (#2189)

4 years agoxcode warnings fix (#2188)
MennoVink [Tue, 21 Apr 2020 13:06:12 +0000 (15:06 +0200)]
xcode warnings fix (#2188)

4 years agoAdd support for extension GL_ARB_shader_image_size (#2185)
pmistryNV [Mon, 20 Apr 2020 02:47:54 +0000 (19:47 -0700)]
Add support for extension GL_ARB_shader_image_size (#2185)

4 years agoAdd support for extension GL_ARB_shader_bit_encoding (#2183)
pmistryNV [Fri, 17 Apr 2020 11:24:12 +0000 (04:24 -0700)]
Add support for extension GL_ARB_shader_bit_encoding (#2183)

4 years agoSupport multiple swizzled out operands (#2175)
Cody Northrop [Tue, 14 Apr 2020 03:59:49 +0000 (21:59 -0600)]
Support multiple swizzled out operands (#2175)

Swizzled out operands were added in bbbd9a2a. This was sufficient
for most tests, but we ran into problems with umulExtended and
imulExtended, which have two.

This CL converts the tracking values to vectors so multiple operands
can be supported.

Test: KHR-GLES31.core.shader_bitfield_operation.*
Test: ctest

4 years agoFix #2178: Allow specialization constants for texel offsets.
John Kessenich [Mon, 13 Apr 2020 04:56:17 +0000 (22:56 -0600)]
Fix #2178: Allow specialization constants for texel offsets.

4 years agoGet rid of all warnings with MSVC and clang-cl (#2177)
Malacath-92 [Fri, 10 Apr 2020 08:39:16 +0000 (10:39 +0200)]
Get rid of all warnings with MSVC and clang-cl (#2177)

4 years agoAdd support for EXT_ray_flags_primitive_culling. (#2173)
alelenv [Thu, 9 Apr 2020 04:09:20 +0000 (21:09 -0700)]
Add support for EXT_ray_flags_primitive_culling. (#2173)

Fixes issue #2169.

4 years agoError message: Finish addressing #2097, better texture error message.
John Kessenich [Tue, 7 Apr 2020 08:18:23 +0000 (02:18 -0600)]
Error message: Finish addressing #2097, better texture error message.

4 years agoRemove extra semicolons (#2170)
Ryan Harrison [Fri, 3 Apr 2020 05:04:09 +0000 (01:04 -0400)]
Remove extra semicolons (#2170)

This is causing downstream users compiler errors if they have Werror or other
particularly restrictive flags turned on.

4 years agoShader interface matching rework to fix #2136 (#2156)
Malcolm Bechard [Thu, 2 Apr 2020 08:03:53 +0000 (04:03 -0400)]
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

4 years agoBuild warning: Fix #2167: Remove nested reuse of 'unreachable'.
John Kessenich [Wed, 1 Apr 2020 06:46:57 +0000 (00:46 -0600)]
Build warning: Fix #2167: Remove nested reuse of 'unreachable'.

4 years agoBump revision.
John Kessenich [Tue, 31 Mar 2020 06:02:31 +0000 (00:02 -0600)]
Bump revision.

4 years agoMerge pull request #2166 from alelenv/rq_lvalue_fix
John Kessenich [Tue, 31 Mar 2020 05:24:14 +0000 (23:24 -0600)]
Merge pull request #2166 from alelenv/rq_lvalue_fix

Error out assignments to objects of rayQueryEXT type.

4 years agoError assigns to objects of rayQueryEXT type.
alelenv [Mon, 30 Mar 2020 17:24:30 +0000 (10:24 -0700)]
Error assigns to objects of rayQueryEXT type.

4 years agoMerge pull request #2164 from dj2/unused
John Kessenich [Mon, 30 Mar 2020 14:35:39 +0000 (08:35 -0600)]
Merge pull request #2164 from dj2/unused

Remove unused variables.

4 years agoRemove unused variables.
dan sinclair [Mon, 30 Mar 2020 14:03:11 +0000 (10:03 -0400)]
Remove unused variables.

This CL removes two unused variables from the initialization code.

4 years agoMerge pull request #2162 from ntfshard/small_fix
John Kessenich [Mon, 30 Mar 2020 06:33:09 +0000 (00:33 -0600)]
Merge pull request #2162 from ntfshard/small_fix

Humble fix

4 years agoFix #2163: improve comments for addProcess() and the preamble.
John Kessenich [Mon, 30 Mar 2020 06:27:31 +0000 (00:27 -0600)]
Fix #2163: improve comments for addProcess() and the preamble.

4 years agoprintf format
ntfs.hard [Sun, 29 Mar 2020 22:48:15 +0000 (01:48 +0300)]
printf format

4 years agounused var
ntfs.hard [Sun, 29 Mar 2020 22:38:21 +0000 (01:38 +0300)]
unused var

4 years agobitwise on boolean
ntfs.hard [Sun, 29 Mar 2020 22:32:23 +0000 (01:32 +0300)]
bitwise on boolean

4 years agoopposite inner condition
ntfs.hard [Sun, 29 Mar 2020 21:55:49 +0000 (00:55 +0300)]
opposite inner condition

4 years agoMerge pull request #2160 from greg-lunarg/kg110
John Kessenich [Sat, 28 Mar 2020 04:28:15 +0000 (22:28 -0600)]
Merge pull request #2160 from greg-lunarg/kg110

Update spirv-tools known_good to latest stable

4 years agoUpdate spirv-tools known_good to latest stable
Greg Fischer [Fri, 27 Mar 2020 17:34:45 +0000 (11:34 -0600)]
Update spirv-tools known_good to latest stable

4 years agoMerge pull request #2159 from neslimsah/master
John Kessenich [Fri, 27 Mar 2020 14:23:46 +0000 (08:23 -0600)]
Merge pull request #2159 from neslimsah/master

GL_EXT_ray_query accelerationStructureEXT

4 years agoMerge pull request #2157 from neslimsah/master
John Kessenich [Fri, 27 Mar 2020 01:46:35 +0000 (19:46 -0600)]
Merge pull request #2157 from neslimsah/master

GL_EXT_ray_query pass-by-reference issues

4 years agoaccelerationStructureEXT - issue #2152
Neslisah Torosdagli [Thu, 26 Mar 2020 23:32:52 +0000 (19:32 -0400)]
accelerationStructureEXT - issue #2152

4 years agoaccelerationStructureEXT - issue #2152
Neslisah Torosdagli [Thu, 26 Mar 2020 22:51:18 +0000 (18:51 -0400)]
accelerationStructureEXT - issue #2152

4 years agopass by reference updates
Neslisah Torosdagli [Thu, 26 Mar 2020 16:24:31 +0000 (12:24 -0400)]
pass by reference updates

4 years agoMerge branch 'master' of https://github.com/neslimsah/glslang
Neslisah Torosdagli [Thu, 26 Mar 2020 15:08:54 +0000 (11:08 -0400)]
Merge branch 'master' of https://github.com/neslimsah/glslang

4 years agopass-by-reference updates
Neslisah Torosdagli [Thu, 26 Mar 2020 14:52:33 +0000 (10:52 -0400)]
pass-by-reference updates

4 years agoMerge pull request #1 from KhronosGroup/master
Neslisah Torosdagli [Thu, 26 Mar 2020 15:06:00 +0000 (11:06 -0400)]
Merge pull request #1 from KhronosGroup/master

sync to KhronosGroup/glslang

4 years agoMerge pull request #2154 from GMNGeoffrey/patch-1
John Kessenich [Thu, 26 Mar 2020 06:18:25 +0000 (00:18 -0600)]
Merge pull request #2154 from GMNGeoffrey/patch-1

Add missing braces to if condition