platform/upstream/glslang.git
5 years agoSPV/Standalone: Support specifying arbitrary versions of SPIR-V.
John Kessenich [Fri, 26 Oct 2018 16:12:32 +0000 (10:12 -0600)]
SPV/Standalone: Support specifying arbitrary versions of SPIR-V.

5 years agoMerge pull request #1549 from sparmarNV/fix-SPV_NV_mesh_shader
John Kessenich [Fri, 26 Oct 2018 15:25:38 +0000 (09:25 -0600)]
Merge pull request #1549 from sparmarNV/fix-SPV_NV_mesh_shader

Allow GL_NV_mesh_shader in fragment shaders for perprimitiveNV

5 years agoAllow GL_NV_mesh_shader in fragment shaders for perprimitiveNV
Sahil Parmar [Fri, 26 Oct 2018 06:50:59 +0000 (23:50 -0700)]
Allow GL_NV_mesh_shader in fragment shaders for perprimitiveNV

- Emit relevant capability/extension for use of perprimitiveNV in fragment shader
- Remove redundant checks for mesh shader qualifiers in glslang.y
- Add profile version check for use of extension GL_NV_mesh_shader
- Add a new gtest for use of perprimitiveNV in fragment shader

5 years agoMerge pull request #1545 from dj2/warnings
John Kessenich [Thu, 25 Oct 2018 19:44:40 +0000 (13:44 -0600)]
Merge pull request #1545 from dj2/warnings

Fixup unused parameter warnings

5 years agoPP: Fix #155: Don't give error on HLSL PP-only parsing.
John Kessenich [Thu, 25 Oct 2018 18:43:02 +0000 (12:43 -0600)]
PP: Fix #155: Don't give error on HLSL PP-only parsing.

5 years agoFixup unused parameter warnings
Dan Sinclair [Wed, 24 Oct 2018 13:54:45 +0000 (09:54 -0400)]
Fixup unused parameter warnings

This CL removes the current parameters which are unused in order to
fixup the issued clang warnings.

5 years agoMerge pull request #1534 from Kangz/no_static_lib
John Kessenich [Mon, 22 Oct 2018 14:33:55 +0000 (08:33 -0600)]
Merge pull request #1534 from Kangz/no_static_lib

BUILD.gn: remove the static_library target.

5 years agoBuild: Fix #1490, unused variables.
John Kessenich [Sun, 21 Oct 2018 00:30:57 +0000 (18:30 -0600)]
Build: Fix #1490, unused variables.

5 years agoFix #1536: use string instead of TString for uniform-location override.
John Kessenich [Sat, 20 Oct 2018 23:36:13 +0000 (17:36 -0600)]
Fix #1536: use string instead of TString for uniform-location override.

5 years agoBUILD.gn: remove the static_library target.
Corentin Wallez [Wed, 17 Oct 2018 10:22:28 +0000 (12:22 +0200)]
BUILD.gn: remove the static_library target.

This had no sources and depended on a source_set which is an invalid use
of GN because the source_set gets propagated to dependents of the
static_library instead.

5 years agoMerge pull request #1533 from amdrexu/bugfix
John Kessenich [Wed, 17 Oct 2018 07:01:00 +0000 (01:01 -0600)]
Merge pull request #1533 from amdrexu/bugfix

Fix a parse issue of imageAtomicCompSwap()

5 years agoFix a parse issue of imageAtomicCompSwap()
Rex Xu [Wed, 17 Oct 2018 05:55:11 +0000 (13:55 +0800)]
Fix a parse issue of imageAtomicCompSwap()

The max count of arguments is 5 when image2DMS/image2DMSArray is
specified.

5 years agoMerge pull request #1531 from jeffbolznv/workgroup_nonprivate
John Kessenich [Tue, 16 Oct 2018 18:37:01 +0000 (12:37 -0600)]
Merge pull request #1531 from jeffbolznv/workgroup_nonprivate

Fix flags.nonprivate to be true for workgroup memory, which is implicitly workgroupcoherent/nonprivate

5 years agoFix flags.nonprivate to be true for workgroup memory, which is implicitly workgroupco...
Jeff Bolz [Tue, 16 Oct 2018 03:46:48 +0000 (22:46 -0500)]
Fix flags.nonprivate to be true for workgroup memory, which is implicitly workgroupcoherent/nonprivate

5 years agoCreate CODE_OF_CONDUCT.md
Khronos Group Webmaster [Wed, 10 Oct 2018 19:48:43 +0000 (15:48 -0400)]
Create CODE_OF_CONDUCT.md

5 years agoMerge pull request #1523 from sparmarNV/fix-SPV_NV_mesh_shader
John Kessenich [Fri, 5 Oct 2018 05:46:21 +0000 (23:46 -0600)]
Merge pull request #1523 from sparmarNV/fix-SPV_NV_mesh_shader

Allow redeclaration of builtin interface blocks in mesh shader

5 years agoMerge pull request #1524 from chaoc/master
John Kessenich [Fri, 5 Oct 2018 05:41:24 +0000 (23:41 -0600)]
Merge pull request #1524 from chaoc/master

Fix inferred output primitive for GL_NV_geometry_shader_passthrough

5 years agoFor GL_NV_geometry_shader_passthrough extension, the Inferred output primitive for...
Chao Chen [Fri, 5 Oct 2018 01:39:27 +0000 (18:39 -0700)]
For GL_NV_geometry_shader_passthrough extension, the Inferred output primitive for ElgTriangles should be ElgTriangleStrip.

Also removed unnecessary relax for GL_NV_geometry_shader_passthrough in link validate

5 years agoMerge pull request #1515 from Igalia/more-location-command-line-options
John Kessenich [Fri, 5 Oct 2018 00:56:39 +0000 (18:56 -0600)]
Merge pull request #1515 from Igalia/more-location-command-line-options

Enhancement: add extra command line options that modifies aml

5 years agoAllow redeclaration of builtin interface blocks in mesh shader
Sahil Parmar [Thu, 4 Oct 2018 23:39:18 +0000 (16:39 -0700)]
Allow redeclaration of builtin interface blocks in mesh shader

Apart from allowing redeclaration of gl_MeshPerVertexNV and gl_MeshPerPrimitiveNV blocks, this change also -
- Resize clip/cull perview distances based on static index use
- Error out use of both single-view and per-view builtins
- Add new gtests with redeclared blocks and edit existing test output
- Fix couple of typos

5 years agoMerge pull request #1518 from Kangz/fix_dawn
John Kessenich [Wed, 3 Oct 2018 18:25:12 +0000 (12:25 -0600)]
Merge pull request #1518 from Kangz/fix_dawn

BUILD.gn: glslang_sources need the public config too

5 years agoBUILD.gn: glslang_sources need the public config too
Corentin Wallez [Wed, 3 Oct 2018 17:15:23 +0000 (13:15 -0400)]
BUILD.gn: glslang_sources need the public config too

5 years agoMerge pull request #1517 from Kangz/mac_complete_lib
John Kessenich [Tue, 2 Oct 2018 14:47:33 +0000 (08:47 -0600)]
Merge pull request #1517 from Kangz/mac_complete_lib

BUILD.gn: only use complete_static_lib on mac

5 years agoBUILD.gn: only use complete_static_lib on mac
Corentin Wallez [Tue, 2 Oct 2018 13:23:08 +0000 (09:23 -0400)]
BUILD.gn: only use complete_static_lib on mac

5 years agoAdd an option to set the base uniform location
Neil Roberts [Tue, 20 Mar 2018 16:41:05 +0000 (17:41 +0100)]
Add an option to set the base uniform location

This will be used to generate uniform locations with --aml

5 years agoAdd a command-line option to override uniform locations
Neil Roberts [Tue, 20 Mar 2018 16:30:53 +0000 (17:30 +0100)]
Add a command-line option to override uniform locations

5 years agoMerge pull request #1507 from sparmarNV/fix-SPV_NV_mesh_shader
John Kessenich [Fri, 28 Sep 2018 12:24:02 +0000 (06:24 -0600)]
Merge pull request #1507 from sparmarNV/fix-SPV_NV_mesh_shader

Add ES 320 support and additional error checks for SPV_NV_mesh_shader

5 years agoBased on feedback rename checkShaderStageForNVExtensions to checkExtensionStage
Sahil Parmar [Thu, 27 Sep 2018 18:08:13 +0000 (11:08 -0700)]
Based on feedback rename checkShaderStageForNVExtensions to checkExtensionStage

Also continue error checking post requireStage() check

5 years agoCall checkShaderStageForNVExtensions() from function updateExtensionBehavior()
Sahil Parmar [Wed, 26 Sep 2018 23:12:51 +0000 (16:12 -0700)]
Call checkShaderStageForNVExtensions() from function updateExtensionBehavior()

5 years agoMerge pull request #1510 from Kangz/complete_lib
John Kessenich [Wed, 26 Sep 2018 22:24:10 +0000 (16:24 -0600)]
Merge pull request #1510 from Kangz/complete_lib

BUILD.gn: make the static_lib complete to fix the build on OSX

5 years agoBUILD.gn: make the static_lib complete to fix the build on OSX
Corentin Wallez [Wed, 26 Sep 2018 21:51:19 +0000 (14:51 -0700)]
BUILD.gn: make the static_lib complete to fix the build on OSX

5 years agochanges based on feedback
Sahil Parmar [Wed, 26 Sep 2018 20:38:25 +0000 (13:38 -0700)]
changes based on feedback

5 years agoInterfaces: Remove NV_EXTENSIONS from two more headers.
John Kessenich [Wed, 26 Sep 2018 15:14:30 +0000 (09:14 -0600)]
Interfaces: Remove NV_EXTENSIONS from two more headers.

This also fixes some cpp files that uncover issues when building
with the flags turned off.

5 years agoMerge pull request #1508 from jeffbolznv/remove_ifdefs_shaderlang
John Kessenich [Wed, 26 Sep 2018 14:55:20 +0000 (08:55 -0600)]
Merge pull request #1508 from jeffbolznv/remove_ifdefs_shaderlang

Remove NV_EXTENSION ifdefs from ShaderLang.h

5 years agoRemove NV_EXTENSION ifdefs from ShaderLang.h
Jeff Bolz [Wed, 26 Sep 2018 14:03:57 +0000 (09:03 -0500)]
Remove NV_EXTENSION ifdefs from ShaderLang.h

5 years agoInterface: remove NV_EXTENSIONS from the resources header.
John Kessenich [Wed, 26 Sep 2018 09:00:37 +0000 (03:00 -0600)]
Interface: remove NV_EXTENSIONS from the resources header.

This allows library consumers to work without have to set
NV_EXTENSIONS.

5 years agoMerge pull request #1506 from alelenv/master
John Kessenich [Tue, 25 Sep 2018 22:30:14 +0000 (16:30 -0600)]
Merge pull request #1506 from alelenv/master

Fix missing case label for miss stage.

5 years agoMerge pull request #1505 from dj2/gn_build
John Kessenich [Tue, 25 Sep 2018 22:29:22 +0000 (16:29 -0600)]
Merge pull request #1505 from dj2/gn_build

Add BUILD.gn configuration.

5 years agoAdd ES 320 support and additional error checks for SPV_NV_mesh_shader
Sahil Parmar [Tue, 25 Sep 2018 20:45:32 +0000 (13:45 -0700)]
Add ES 320 support and additional error checks for SPV_NV_mesh_shader

- Add ES 320 support
- Error out use of perprimitiveNV for non mesh/fragment shaders
- Error out use of mesh/task shaders w/o use of NV_mesh_shader
- Error out use of NV_mesh_shader for non task/mesh shaders
- Error out use of perviewNV for non mesh shaders
- Error out use of taskNV for non mesh/task shaders
- Add test case for mesh shader with ES 320 profile

5 years agoUse unsigned int instead of uint32_t
Dan Sinclair [Tue, 25 Sep 2018 20:32:06 +0000 (16:32 -0400)]
Use unsigned int instead of uint32_t

5 years agoFix missing case label for miss stage.
Ashwin Lele [Tue, 25 Sep 2018 20:19:34 +0000 (13:19 -0700)]
Fix missing case label for miss stage.

5 years agoReview feedback
Dan Sinclair [Mon, 24 Sep 2018 22:40:38 +0000 (18:40 -0400)]
Review feedback

5 years agoAdd BUILD.gn configuration.
Dan Sinclair [Mon, 24 Sep 2018 20:35:44 +0000 (16:35 -0400)]
Add BUILD.gn configuration.

This CL adds the necessary configuration to build glslang inside a
Chromium checkout. Two build warnings were fixed in the process to
make things compile.

5 years agoSPIRV-Tools: Move to more recent (higher quality) version.
John Kessenich [Thu, 20 Sep 2018 20:36:42 +0000 (14:36 -0600)]
SPIRV-Tools: Move to more recent (higher quality) version.

5 years agoBump revision.
John Kessenich [Thu, 20 Sep 2018 08:04:42 +0000 (02:04 -0600)]
Bump revision.

5 years agoMerge pull request #1500 from KhronosGroup/turing-known-good
John Kessenich [Thu, 20 Sep 2018 07:59:52 +0000 (01:59 -0600)]
Merge pull request #1500 from KhronosGroup/turing-known-good

Update known-good to tools/headers for the Nvidia Turing extensions.

5 years agoUpdate known-good to tools/headers for the Nvidia Turing extensions.
John Kessenich [Thu, 20 Sep 2018 07:34:14 +0000 (01:34 -0600)]
Update known-good to tools/headers for the Nvidia Turing extensions.

5 years agoBump minor version.
John Kessenich [Wed, 19 Sep 2018 22:50:05 +0000 (16:50 -0600)]
Bump minor version.

5 years agoMerge pull request #1499 from chaoc/nvidia_turing
John Kessenich [Wed, 19 Sep 2018 22:44:26 +0000 (16:44 -0600)]
Merge pull request #1499 from chaoc/nvidia_turing

Add support for multiple Nvidia extensions

5 years agoupdate glslang test results for temporary validation fail
Chao Chen [Wed, 19 Sep 2018 21:06:36 +0000 (14:06 -0700)]
update glslang test results for temporary validation fail

5 years agoAdd-support-for-SPV_NV_shading_rate
Chao Chen [Wed, 19 Sep 2018 18:43:21 +0000 (11:43 -0700)]
Add-support-for-SPV_NV_shading_rate

5 years agoAdd-support-for-SPV_NVX_raytracing
Chao Chen [Wed, 19 Sep 2018 18:42:24 +0000 (11:42 -0700)]
Add-support-for-SPV_NVX_raytracing

5 years agoAdd-support-for-SPV_NV_mesh_shader
Chao Chen [Wed, 19 Sep 2018 18:41:59 +0000 (11:41 -0700)]
Add-support-for-SPV_NV_mesh_shader

5 years ago0003-Add-support-for-SPV_NV_shader_image_footprint
Chao Chen [Wed, 19 Sep 2018 18:41:27 +0000 (11:41 -0700)]
0003-Add-support-for-SPV_NV_shader_image_footprint

5 years agoAdd-support-for-SPV_NV_compute_shader_derivatives
Chao Chen [Wed, 19 Sep 2018 18:40:45 +0000 (11:40 -0700)]
Add-support-for-SPV_NV_compute_shader_derivatives

5 years agoAdd-support-for-SPV_NV_fragment_shader_barycentric
Chao Chen [Wed, 19 Sep 2018 18:39:56 +0000 (11:39 -0700)]
Add-support-for-SPV_NV_fragment_shader_barycentric

5 years agoUpdate to latest spirv.hpp header (which fixed a typo).
John Kessenich [Wed, 19 Sep 2018 19:58:01 +0000 (13:58 -0600)]
Update to latest spirv.hpp header (which fixed a typo).

5 years agoSPV: Move to latest SPIR-V header (latest NV extensions support).
John Kessenich [Wed, 19 Sep 2018 09:54:48 +0000 (03:54 -0600)]
SPV: Move to latest SPIR-V header (latest NV extensions support).

5 years agoBuild: Fix some warnings.
John Kessenich [Tue, 18 Sep 2018 09:43:30 +0000 (03:43 -0600)]
Build: Fix some warnings.

5 years agoBump revision.
John Kessenich [Thu, 13 Sep 2018 23:54:48 +0000 (17:54 -0600)]
Bump revision.

5 years agoMerge pull request #1492 from NorbertGarnysAMD/shader_atomic_int64
John Kessenich [Thu, 13 Sep 2018 17:52:35 +0000 (11:52 -0600)]
Merge pull request #1492 from NorbertGarnysAMD/shader_atomic_int64

Add GL_EXT_shader_atomic_int64

5 years agoAdd GL_EXT_shader_atomic_int64
Norbert Garnys [Thu, 13 Sep 2018 13:34:26 +0000 (15:34 +0200)]
Add GL_EXT_shader_atomic_int64

5 years agoMerge pull request #1491 from DennisOSRM/patch-1
John Kessenich [Wed, 12 Sep 2018 15:02:08 +0000 (09:02 -0600)]
Merge pull request #1491 from DennisOSRM/patch-1

Fix compiler warning emitted from GCC8

5 years agoFix compiler warning emitted from GCC8
Dennis Luxen [Wed, 12 Sep 2018 08:34:54 +0000 (10:34 +0200)]
Fix compiler warning emitted from GCC8

the following warning gets emitted:

```
In file included from ./Vulkan/glslang/SPIRV/hex_float.h:39,
                 from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
./Vulkan/glslang/SPIRV/bitutils.h: In instantiation of ‘Dest spvutils::BitwiseCast(Src) [with Dest = spvutils::Float16; Src = short unsigned int]’:
./Vulkan/glslang/SPIRV/hex_float.h:138:47:   required from ‘T spvutils::FloatProxy<T>::getAsFloat() const [with T = spvutils::Float16]’
./Vulkan/glslang/SPIRV/hex_float.h:821:52:   required from here
./Vulkan/glslang/SPIRV/bitutils.h:29:14: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class spvutils::Float16’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   std::memcpy(&dest, &source, sizeof(dest));
   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
./Vulkan/glslang/SPIRV/hex_float.h:43:7: note: ‘class spvutils::Float16’ declared here
 class Float16 {
       ^~~~~~~
In file included from ./Vulkan/glslang/SPIRV/hex_float.h:39,
                 from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
./Vulkan/glslang/SPIRV/bitutils.h: In instantiation of ‘Dest spvutils::BitwiseCast(Src) [with Dest = spvutils::FloatProxy<spvutils::Float16>; Src = short unsigned int]’:
./Vulkan/glslang/SPIRV/hex_float.h:431:28:   required from ‘void spvutils::HexFloat<T, Traits>::setFromSignUnbiasedExponentAndNormalizedSignificand(bool, spvutils::HexFloat<T, Traits>::int_type, spvutils::HexFloat<T, Traits>::uint_type, bool) [with T = spvutils::FloatProxy<spvutils::Float16>; Traits = spvutils::HexFloatTraits<spvutils::FloatProxy<spvutils::Float16> >; spvutils::HexFloat<T, Traits>::int_type = short int; spvutils::HexFloat<T, Traits>::uint_type = short unsigned int]’
./Vulkan/glslang/SPIRV/hex_float.h:633:5:   required from ‘void spvutils::HexFloat<T, Traits>::castTo(other_T&, spvutils::round_direction) [with other_T = spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>, spvutils::HexFloatTraits<spvutils::FloatProxy<spvutils::Float16> > >; T = spvutils::FloatProxy<float>; Traits = spvutils::HexFloatTraits<spvutils::FloatProxy<float> >]’
./Vulkan/glslang/SPIRV/hex_float.h:817:39:   required from here
./Vulkan/glslang/SPIRV/bitutils.h:29:14: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class spvutils::FloatProxy<spvutils::Float16>’ from an array of ‘short unsigned int’ [-Wclass-memaccess]
   std::memcpy(&dest, &source, sizeof(dest));
   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
./Vulkan/glslang/SPIRV/hex_float.h:115:7: note: ‘class spvutils::FloatProxy<spvutils::Float16>’ declared here
 class FloatProxy {
       ^~~~~~~~~~
```

5 years agoBump revision.
John Kessenich [Tue, 11 Sep 2018 00:14:21 +0000 (18:14 -0600)]
Bump revision.

5 years agoSPV: Fix #1487: Only declare AMD int16/half_float extensions when needed.
John Kessenich [Tue, 11 Sep 2018 00:10:51 +0000 (18:10 -0600)]
SPV: Fix #1487: Only declare AMD int16/half_float extensions when needed.

5 years agoPrinting preprocessed shaders (not a supported path): Fix #1490: strings
John Kessenich [Mon, 10 Sep 2018 17:37:38 +0000 (11:37 -0600)]
Printing preprocessed shaders (not a supported path): Fix #1490: strings

Put quote marks around strings, due to a change in how tokenization works.

5 years agoBump version and revision.
John Kessenich [Fri, 7 Sep 2018 15:07:03 +0000 (09:07 -0600)]
Bump version and revision.

5 years agoMerge branch 'jeffbolznv-memory_scope_semantics'
John Kessenich [Fri, 7 Sep 2018 14:56:46 +0000 (08:56 -0600)]
Merge branch 'jeffbolznv-memory_scope_semantics'

5 years agoGL_KHR_memory_scope_semantics
Jeff Bolz [Wed, 5 Sep 2018 15:11:41 +0000 (10:11 -0500)]
GL_KHR_memory_scope_semantics

5 years agoMerge pull request #1465 from otakuto/remove-execute-permissions
John Kessenich [Fri, 31 Aug 2018 15:14:47 +0000 (08:14 -0700)]
Merge pull request #1465 from otakuto/remove-execute-permissions

Remove execute permissions

5 years agoMerge pull request #1485 from karl-lunarg/karl-lunarg-patch-1
John Kessenich [Fri, 31 Aug 2018 15:12:54 +0000 (08:12 -0700)]
Merge pull request #1485 from karl-lunarg/karl-lunarg-patch-1

tooling: Fix update sources script for Python 3

5 years agoMerge pull request #1486 from mrtrizer/patch-1
John Kessenich [Fri, 31 Aug 2018 15:09:54 +0000 (08:09 -0700)]
Merge pull request #1486 from mrtrizer/patch-1

Fixed a typo leading to compilation error.

5 years agoUpdate SpvTools.cpp
Denis Zdorovtsov [Fri, 31 Aug 2018 14:36:15 +0000 (17:36 +0300)]
Update SpvTools.cpp

Fix build.

5 years agobump revision
John Kessenich [Thu, 30 Aug 2018 23:43:22 +0000 (17:43 -0600)]
bump revision

5 years agoSPV: Turn off the default validation done by the SPIRV-Tools optimizer.
John Kessenich [Thu, 30 Aug 2018 22:56:59 +0000 (16:56 -0600)]
SPV: Turn off the default validation done by the SPIRV-Tools optimizer.

Also use the glslang namespace qualifier consistently and validate after
legalization, not before. (But most tests don't legalize.)

5 years agoMerge pull request #1482 from KhronosGroup/validate
John Kessenich [Thu, 30 Aug 2018 20:20:11 +0000 (13:20 -0700)]
Merge pull request #1482 from KhronosGroup/validate

SPV: Add SPIRV-Tools validator.

5 years agoGLSL: Remove use of __ in the implementation of keywords having __.
John Kessenich [Thu, 30 Aug 2018 18:22:33 +0000 (12:22 -0600)]
GLSL: Remove use of __ in the implementation of keywords having __.

5 years agoGLSL: Remove use of __ in the implementation of keywords having __.
John Kessenich [Thu, 30 Aug 2018 18:22:33 +0000 (12:22 -0600)]
GLSL: Remove use of __ in the implementation of keywords having __.

5 years agotooling: Fix update sources script for Python 3
Karl Schultz [Mon, 27 Aug 2018 20:06:38 +0000 (14:06 -0600)]
tooling: Fix update sources script for Python 3

This one small change allows the update_glslang_sources.py script to operate correctly with Python 2 and Python 3.

Change the string literal type to "bytes" so that it matches the type returned by the subprocess calls.  Otherwise, under Python 3, the search for "known-good" in the list of remotes always fails.  This is OK for the first execution of update_glsang_sources, since the remote is not there on the first run.  But on subsequent runs, the search still fails to match and the script stops when trying to create a remote that already exists.

5 years agoSPV: Add option for controling when the SPIRV-Tools validator is used.
John Kessenich [Thu, 23 Aug 2018 21:29:08 +0000 (15:29 -0600)]
SPV: Add option for controling when the SPIRV-Tools validator is used.

5 years agoSPV: Isolate SPIRV-tools glue to its own file.
John Kessenich [Thu, 23 Aug 2018 21:17:10 +0000 (15:17 -0600)]
SPV: Isolate SPIRV-tools glue to its own file.

5 years agoSPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.
John Kessenich [Wed, 22 Aug 2018 23:17:07 +0000 (17:17 -0600)]
SPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.

5 years agoNon-functional: Rationalize some existing use of SPIRV-Tools.
John Kessenich [Wed, 22 Aug 2018 23:12:46 +0000 (17:12 -0600)]
Non-functional: Rationalize some existing use of SPIRV-Tools.

5 years agoMerge pull request #1480 from dneto0/stringify
John Kessenich [Mon, 20 Aug 2018 15:07:12 +0000 (08:07 -0700)]
Merge pull request #1480 from dneto0/stringify

Use our own SPIRV-Tools message stringifier

5 years agoUse our own SPIRV-Tools message stringifier
David Neto [Mon, 20 Aug 2018 14:36:27 +0000 (10:36 -0400)]
Use our own SPIRV-Tools message stringifier

Stop including an internal SPIRV-Tools header. It has been
deleted.

Fixes #1477

5 years agoMerge pull request #1474 from KhronosGroup/pure-8-16-bit-capability
John Kessenich [Sat, 18 Aug 2018 00:00:04 +0000 (17:00 -0700)]
Merge pull request #1474 from KhronosGroup/pure-8-16-bit-capability

SPV: only declare the pure 8/16-bit capabilities when needed.

5 years agoMerge pull request #1476 from greg-lunarg/kg24
John Kessenich [Fri, 17 Aug 2018 19:46:32 +0000 (12:46 -0700)]
Merge pull request #1476 from greg-lunarg/kg24

Update SPIRV-Tools known good.

5 years agoUpdate SPIRV-Tools known good.
GregF [Thu, 16 Aug 2018 21:34:36 +0000 (15:34 -0600)]
Update SPIRV-Tools known good.

Includes:

    Update OpPhi instructions after splitting block. (#1783)
    Don't change decorations and names in merge return. (#1777)
    Transform to combine consecutive access chains
    Handle undef literal value in vector shuffle
    Fix block ordering in dead branch elim
    Fix finding constant with particular type. (#1724)
    Fix infinite loop while folding OpVectorShuffle (#1722)
    Fix size error when folding vector shuffle. (#1721)
    Layout validation: Permit {vec3; float} tight packing

5 years agoSPV: only declare the pure 8/16-bit capabilities when needed.
John Kessenich [Wed, 15 Aug 2018 19:54:09 +0000 (13:54 -0600)]
SPV: only declare the pure 8/16-bit capabilities when needed.

Only when operations stray outside the 8/16-bit storage-capabilities
are the general (pure 8/16-bit) capabilities needed.

5 years agoSPV: More corrections of <id> versus "immediate" operands.
John Kessenich [Tue, 14 Aug 2018 19:31:43 +0000 (13:31 -0600)]
SPV: More corrections of <id> versus "immediate" operands.

5 years agoSPV: Correct SPIR-V operands for <id> versus immediate.
John Kessenich [Tue, 14 Aug 2018 03:37:59 +0000 (21:37 -0600)]
SPV: Correct SPIR-V operands for <id> versus immediate.

5 years agoBump version patch level.
John Kessenich [Mon, 13 Aug 2018 07:32:56 +0000 (01:32 -0600)]
Bump version patch level.

5 years agoFix #1471: Merge shift amounts for different sets: --stb ... --std ...
John Kessenich [Mon, 13 Aug 2018 04:05:59 +0000 (22:05 -0600)]
Fix #1471: Merge shift amounts for different sets: --stb ... --std ...

5 years agoFix #1393: rationalize usage, in the spirit of #1393.
John Kessenich [Mon, 13 Aug 2018 03:24:55 +0000 (21:24 -0600)]
Fix #1393: rationalize usage, in the spirit of #1393.

Order is kept about the same.

5 years agoBump revision.
John Kessenich [Thu, 9 Aug 2018 20:17:52 +0000 (14:17 -0600)]
Bump revision.

5 years agoFix #1468: Add command-line --entry-point support, same as existing -e.
John Kessenich [Thu, 9 Aug 2018 20:15:00 +0000 (14:15 -0600)]
Fix #1468: Add command-line --entry-point support, same as existing -e.

5 years agoFix #1469: Make it easier to copy/paste build instructions.
John Kessenich [Thu, 9 Aug 2018 19:56:57 +0000 (13:56 -0600)]
Fix #1469: Make it easier to copy/paste build instructions.

5 years agoMerge pull request #1466 from Kangz/warning_fixes
John Kessenich [Thu, 9 Aug 2018 19:49:56 +0000 (12:49 -0700)]
Merge pull request #1466 from Kangz/warning_fixes

Fix -Wignored-qualifier and -Wunused-variable warnings

5 years agoMerge pull request #1470 from antiagainst/patch-2
John Kessenich [Thu, 9 Aug 2018 19:34:46 +0000 (12:34 -0700)]
Merge pull request #1470 from antiagainst/patch-2

Appveyor CI: build artifacts for x64