Timo Aaltonen pushed to branch debian-unstable at X Strike Force / vulkan / 
glslang


Commits:
d03da06a by otakuto at 2018-08-06T18:16:20Z
Remove execute permissions

- - - - -
dae0b0a5 by otakuto at 2018-08-06T18:25:35Z
Add shebang

- - - - -
228e964b by John Kessenich at 2018-08-14T03:37:59Z
SPV: Correct SPIR-V operands for <id> versus immediate.

- - - - -
149afc39 by John Kessenich at 2018-08-14T19:31:43Z
SPV: More corrections of <id> versus "immediate" operands.

- - - - -
31aa3d60 by John Kessenich at 2018-08-16T21:54:21Z
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.

- - - - -
1676e73d by GregF at 2018-08-17T16:56:37Z
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

- - - - -
09d7672d by John Kessenich at 2018-08-17T19:46:32Z
Merge pull request #1476 from greg-lunarg/kg24

Update SPIRV-Tools known good.
- - - - -
93dbbdee by John Kessenich at 2018-08-18T00:00:04Z
Merge pull request #1474 from KhronosGroup/pure-8-16-bit-capability

SPV: only declare the pure 8/16-bit capabilities when needed.
- - - - -
9fd2a8cd by David Neto at 2018-08-20T14:36:27Z
Use our own SPIRV-Tools message stringifier

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

Fixes #1477

- - - - -
1323bf8e by John Kessenich at 2018-08-20T15:07:12Z
Merge pull request #1480 from dneto0/stringify

Use our own SPIRV-Tools message stringifier
- - - - -
e7df8e0b by John Kessenich at 2018-08-22T23:12:46Z
Non-functional: Rationalize some existing use of SPIRV-Tools.

- - - - -
cc14f2d3 by John Kessenich at 2018-08-23T19:46:48Z
SPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.

- - - - -
717c80a9 by John Kessenich at 2018-08-23T21:17:10Z
SPV: Isolate SPIRV-tools glue to its own file.

- - - - -
c340425b by John Kessenich at 2018-08-23T21:29:08Z
SPV: Add option for controling when the SPIRV-Tools validator is used.

- - - - -
0cb8ad55 by Karl Schultz at 2018-08-27T20:06:38Z
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.
- - - - -
381dd3c0 by John Kessenich at 2018-08-30T18:22:33Z
GLSL: Remove use of __ in the implementation of keywords having __.

- - - - -
d5aabf34 by John Kessenich at 2018-08-30T18:46:29Z
GLSL: Remove use of __ in the implementation of keywords having __.

- - - - -
a4dfede4 by John Kessenich at 2018-08-30T20:20:11Z
Merge pull request #1482 from KhronosGroup/validate

SPV: Add SPIRV-Tools validator.
- - - - -
4e11b615 by John Kessenich at 2018-08-30T22:59:13Z
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.)

- - - - -
ac2e1b63 by John Kessenich at 2018-08-30T23:43:22Z
bump revision

- - - - -
949344f0 by Denis Zdorovtsov at 2018-08-31T14:36:15Z
Update SpvTools.cpp

Fix build.
- - - - -
12b99ef1 by John Kessenich at 2018-08-31T15:09:54Z
Merge pull request #1486 from mrtrizer/patch-1

Fixed a typo leading to compilation error.
- - - - -
1d12970a by John Kessenich at 2018-08-31T15:12:54Z
Merge pull request #1485 from karl-lunarg/karl-lunarg-patch-1

tooling: Fix update sources script for Python 3
- - - - -
97068d8b by John Kessenich at 2018-08-31T15:14:47Z
Merge pull request #1465 from otakuto/remove-execute-permissions

Remove execute permissions
- - - - -
36831c9b by Jeff Bolz at 2018-09-07T01:36:14Z
GL_KHR_memory_scope_semantics

- - - - -
ddfb4a80 by John Kessenich at 2018-09-07T14:58:53Z
Merge branch 'jeffbolznv-memory_scope_semantics'

- - - - -
1ca0f8e8 by John Kessenich at 2018-09-07T15:07:03Z
Bump version and revision.

- - - - -
546b7885 by John Kessenich at 2018-09-10T17:42:16Z
Printing preprocessed shaders (not a supported path): Fix #1490: strings

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

- - - - -
afe0c66f by John Kessenich at 2018-09-11T00:10:51Z
SPV: Fix #1487: Only declare AMD int16/half_float extensions when needed.

- - - - -
6def4375 by John Kessenich at 2018-09-11T00:14:21Z
Bump revision.

- - - - -
fc89f065 by Dennis Luxen at 2018-09-12T08:34:54Z
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 {
       ^~~~~~~~~~
```
- - - - -
f658c303 by John Kessenich at 2018-09-12T15:02:08Z
Merge pull request #1491 from DennisOSRM/patch-1

Fix compiler warning emitted from GCC8
- - - - -
dad0c1be by Norbert Garnys at 2018-09-13T13:34:26Z
Add GL_EXT_shader_atomic_int64

- - - - -
92fab623 by John Kessenich at 2018-09-13T17:52:35Z
Merge pull request #1492 from NorbertGarnysAMD/shader_atomic_int64

Add GL_EXT_shader_atomic_int64
- - - - -
b4a598ba by John Kessenich at 2018-09-13T23:54:48Z
Bump revision.

- - - - -
d122a728 by John Kessenich at 2018-09-18T09:43:30Z
Build: Fix some warnings.

- - - - -
7105cb30 by John Kessenich at 2018-09-19T09:54:48Z
SPV: Move to latest SPIR-V header (latest NV extensions support).

- - - - -
6dd4757f by John Kessenich at 2018-09-19T19:58:01Z
Update to latest spirv.hpp header (which fixed a typo).

- - - - -
9eada4b9 by Chao Chen at 2018-09-19T20:07:42Z
Add-support-for-SPV_NV_fragment_shader_barycentric

- - - - -
beae2251 by Chao Chen at 2018-09-19T20:07:42Z
Add-support-for-SPV_NV_compute_shader_derivatives

- - - - -
3a137966 by Chao Chen at 2018-09-19T20:07:42Z
0003-Add-support-for-SPV_NV_shader_image_footprint

- - - - -
3c366990 by Chao Chen at 2018-09-19T20:07:43Z
Add-support-for-SPV_NV_mesh_shader

- - - - -
b50c02ef by Chao Chen at 2018-09-19T20:07:43Z
Add-support-for-SPV_NVX_raytracing

- - - - -
5b2203db by Chao Chen at 2018-09-19T20:07:43Z
Add-support-for-SPV_NV_shading_rate

- - - - -
fb13a3ab by Chao Chen at 2018-09-19T21:06:36Z
update glslang test results for temporary validation fail

- - - - -
5942c015 by John Kessenich at 2018-09-19T22:44:26Z
Merge pull request #1499 from chaoc/nvidia_turing

Add support for multiple Nvidia extensions
- - - - -
8751c13c by John Kessenich at 2018-09-19T22:50:05Z
Bump minor version.

- - - - -
aedccf96 by John Kessenich at 2018-09-20T07:34:14Z
Update known-good to tools/headers for the Nvidia Turing extensions.

- - - - -
dc591081 by John Kessenich at 2018-09-20T07:59:52Z
Merge pull request #1500 from KhronosGroup/turing-known-good

Update known-good to tools/headers for the Nvidia Turing extensions.
- - - - -
088da332 by John Kessenich at 2018-09-20T08:04:42Z
Bump revision.

- - - - -
a8453d4b by John Kessenich at 2018-09-20T20:36:42Z
SPIRV-Tools: Move to more recent (higher quality) version.

- - - - -
257b25c8 by Dan Sinclair at 2018-09-24T20:57:55Z
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.

- - - - -
b29c58ea by Dan Sinclair at 2018-09-24T22:40:38Z
Review feedback

- - - - -
a535bc13 by Ashwin Lele at 2018-09-25T20:19:34Z
Fix missing case label for miss stage.

- - - - -
aac6d637 by Dan Sinclair at 2018-09-25T20:32:06Z
Use unsigned int instead of uint32_t

- - - - -
95e2d4ec by Sahil Parmar at 2018-09-25T20:45:32Z
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

- - - - -
18268c85 by John Kessenich at 2018-09-25T22:29:22Z
Merge pull request #1505 from dj2/gn_build

Add BUILD.gn configuration.
- - - - -
a4752945 by John Kessenich at 2018-09-25T22:30:14Z
Merge pull request #1506 from alelenv/master

Fix missing case label for miss stage.
- - - - -
1f60c72c by John Kessenich at 2018-09-26T09:02:13Z
Interface: remove NV_EXTENSIONS from the resources header.

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

- - - - -
27f5db05 by Jeff Bolz at 2018-09-26T14:03:57Z
Remove NV_EXTENSION ifdefs from ShaderLang.h

- - - - -
01c4076a by John Kessenich at 2018-09-26T14:55:20Z
Merge pull request #1508 from jeffbolznv/remove_ifdefs_shaderlang

Remove NV_EXTENSION ifdefs from ShaderLang.h
- - - - -
5ff3c3da by John Kessenich at 2018-09-26T15:38:20Z
Interfaces: Remove NV_EXTENSIONS from two more headers.

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

- - - - -
3ae0f583 by Sahil Parmar at 2018-09-26T20:38:25Z
changes based on feedback

- - - - -
873734dd by Corentin Wallez at 2018-09-26T21:51:19Z
BUILD.gn: make the static_lib complete to fix the build on OSX

- - - - -
91ac4290 by John Kessenich at 2018-09-26T22:24:10Z
Merge pull request #1510 from Kangz/complete_lib

BUILD.gn: make the static_lib complete to fix the build on OSX
- - - - -
251344f6 by Sahil Parmar at 2018-09-26T23:12:51Z
Call checkShaderStageForNVExtensions() from function updateExtensionBehavior()

- - - - -
80b9872c by Sahil Parmar at 2018-09-27T18:08:13Z
Based on feedback rename checkShaderStageForNVExtensions to checkExtensionStage

Also continue error checking post requireStage() check

- - - - -
4508a817 by John Kessenich at 2018-09-28T12:24:02Z
Merge pull request #1507 from sparmarNV/fix-SPV_NV_mesh_shader

Add ES 320 support and additional error checks for SPV_NV_mesh_shader
- - - - -
16f53474 by Neil Roberts at 2018-10-02T10:15:22Z
Add a command-line option to override uniform locations

- - - - -
b0f3d794 by Neil Roberts at 2018-10-02T10:15:22Z
Add an option to set the base uniform location

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

- - - - -
a26827ad by Corentin Wallez at 2018-10-02T13:28:15Z
BUILD.gn: only use complete_static_lib on mac

- - - - -
2e0806c7 by John Kessenich at 2018-10-02T14:47:33Z
Merge pull request #1517 from Kangz/mac_complete_lib

BUILD.gn: only use complete_static_lib on mac
- - - - -
7b263da4 by Timo Aaltonen at 2018-10-03T09:34:34Z
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
33b920ec by Timo Aaltonen at 2018-10-03T09:35:40Z
bump the version

- - - - -
6857c238 by Corentin Wallez at 2018-10-03T17:15:23Z
BUILD.gn: glslang_sources need the public config too

- - - - -
ca042a0f by John Kessenich at 2018-10-03T18:25:12Z
Merge pull request #1518 from Kangz/fix_dawn

BUILD.gn: glslang_sources need the public config too
- - - - -
035cbbe3 by Sahil Parmar at 2018-10-04T23:39:18Z
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

- - - - -
2f78b9c7 by John Kessenich at 2018-10-05T00:56:39Z
Merge pull request #1515 from Igalia/more-location-command-line-options

Enhancement: add extra command line options that modifies aml
- - - - -
07ef0e4c by Chao Chen at 2018-10-05T01:39:27Z
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

- - - - -
732623e1 by John Kessenich at 2018-10-05T05:41:24Z
Merge pull request #1524 from chaoc/master

Fix inferred output primitive for GL_NV_geometry_shader_passthrough 
- - - - -
c374030e by John Kessenich at 2018-10-05T05:46:21Z
Merge pull request #1523 from sparmarNV/fix-SPV_NV_mesh_shader

Allow redeclaration of builtin interface blocks in mesh shader
- - - - -
4685f324 by Khronos Group Webmaster at 2018-10-10T19:48:43Z
Create CODE_OF_CONDUCT.md
- - - - -
ab3c965a by Jeff Bolz at 2018-10-16T03:46:48Z
Fix flags.nonprivate to be true for workgroup memory, which is implicitly 
workgroupcoherent/nonprivate

- - - - -
e9405d0b by John Kessenich at 2018-10-16T18:37:01Z
Merge pull request #1531 from jeffbolznv/workgroup_nonprivate

Fix flags.nonprivate to be true for workgroup memory, which is implicitly 
workgroupcoherent/nonprivate
- - - - -
d698ebf5 by Rex Xu at 2018-10-17T05:55:11Z
Fix a parse issue of imageAtomicCompSwap()

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

- - - - -
fa61e4c0 by John Kessenich at 2018-10-17T07:01:00Z
Merge pull request #1533 from amdrexu/bugfix

Fix a parse issue of imageAtomicCompSwap()
- - - - -
5403f380 by Corentin Wallez at 2018-10-17T10:22:28Z
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.

- - - - -
43bb5bd1 by John Kessenich at 2018-10-20T23:37:19Z
Fix #1536: use string instead of TString for uniform-location override.

- - - - -
9323fd4d by John Kessenich at 2018-10-21T00:30:57Z
Build: Fix #1490, unused variables.

- - - - -
a08f465d by John Kessenich at 2018-10-22T14:33:55Z
Merge pull request #1534 from Kangz/no_static_lib

BUILD.gn: remove the static_library target.
- - - - -
70f13b2e by Dan Sinclair at 2018-10-24T13:54:48Z
Fixup unused parameter warnings

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

- - - - -
086febc4 by John Kessenich at 2018-10-25T18:43:02Z
PP: Fix #155: Don't give error on HLSL PP-only parsing.

- - - - -
816bc444 by John Kessenich at 2018-10-25T19:44:40Z
Merge pull request #1545 from dj2/warnings

Fixup unused parameter warnings
- - - - -
38772c04 by Sahil Parmar at 2018-10-26T06:50:59Z
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

- - - - -
b6b01f06 by Neil Henning at 2018-10-26T13:23:41Z
Fix 8-bit storage nearly always using the
UniformAndStorageBuffer8BitAccess capability.

When using the 8-bit storage extension it basically always used the
`UniformAndStorageBuffer8BitAccess` capability, even in cases where it
wasn't required. For instance if we are targeting Vulkan 1.1 (SPIR-V 1.3
or higher), and we are only using 8-bit types in an SSBO, we only need
the `StorageBuffer8BitAccess` capability.

I fixed this by enabling storage buffer use in Vulkan 1.1 / SPIR-V 1.3
or higher, and then changing the logic to match.

I also added some tests that will output different capabilities when run
on Vulkan 1.0 and 1.1, thus they are added twice to the test list (one
for each version).

Fixes #1539

- - - - -
ae63a8df by John Kessenich at 2018-10-26T15:25:38Z
Merge pull request #1549 from sparmarNV/fix-SPV_NV_mesh_shader

Allow GL_NV_mesh_shader in fragment shaders for perprimitiveNV
- - - - -
8717a5d3 by John Kessenich at 2018-10-26T16:16:47Z
SPV/Standalone: Support specifying arbitrary versions of SPIR-V.

- - - - -
25ed3fce by John Kessenich at 2018-10-26T16:27:46Z
Merge pull request #1542 from sheredom/fix_8bit_storagebuffer

Fix 8-bit storage nearly always using the UniformAndStorageBuffer8BitAccess 
capability.
- - - - -
f0928b3f by John Kessenich at 2018-10-26T17:28:37Z
Build: Pin googletest to a version that works with visual studio 2013.

- - - - -
04a2fe93 by Corentin Wallez at 2018-10-29T15:24:00Z
Fix MSVC warning C4065: 'default' but no 'case' labels

This would happen in SpvPostProcess when we don't enable AMD extensions.

- - - - -
b2b3d81e by John Kessenich at 2018-10-29T22:16:46Z
Merge pull request #1556 from Kangz/msvc

Fix MSVC warning C4065: 'default' but no 'case' labels
- - - - -
ab5382cf by Corentin Wallez at 2018-10-30T15:11:46Z
BUILD.gn: remove reference to non-existent header

- - - - -
0ac199df by John Kessenich at 2018-10-30T23:17:11Z
Merge pull request #1558 from Kangz/fix_build_gn

BUILD.gn: remove reference to non-existent header
- - - - -
af8c1bdb by Alejandro Piñeiro at 2018-10-31T09:34:44Z
ParseHelper: assign xfb_offset for struct members too

If the out variable is a struct type, with a xfb_offset explicitly
assigned, the members need to get their xfb_offset assigned. This is
specially relevant, as we cannot use layout qualifiers on struct
members.

- - - - -
ff1783db by Ashwin Lele at 2018-10-31T14:55:24Z
Multiple features and misc fixes for final raytracing non experimental version.

- - - - -
a440fbb0 by John Kessenich at 2018-10-31T18:00:36Z
Merge pull request #1543 from alelenv/nv-raytracing-final

Add support for nv_ray_tracing final 
- - - - -
22d0b7cb by Jeff Bolz at 2018-10-31T20:38:08Z
Use precompiled headers for some glslang projects

- - - - -
4c9876b3 by Grigory Dzhavadyan at 2018-11-02T07:45:12Z
Add names for composite constants in SPIR-V

Consider the following code:

    layout(constant_id=0) const int Y = 1;
    layout(constant_id=1) const int Z = 2;
    layout(constant_id=3) const int X = Y + Z;

Previously, it would produce SPIR-V decorations like this:

    Decorate 21(Y) SpecId 1
    Decorate 22 SpecId 3
    Decorate 33(Z) SpecId 0

This seems inaccurate, since the spec constant `X` that is dependent on
the two others did not get a name in the SPIR-V decorations. This behavior
may potentially negatively affect shader introspection capabilities.

This change alters the behavior to always add a name, which results in the code
above producing the following decorations:

    Decorate 21(Y) SpecId 1
    Decorate 22(X) SpecId 3
    Decorate 33(Z) SpecId 0

- - - - -
cdf7a85b by John Kessenich at 2018-11-02T16:23:22Z
Merge pull request #1557 from nicebyte/spec-const-decorations

Add names for composite spec constants in SPIR-V
- - - - -
1c1c2d64 by John Kessenich at 2018-11-02T16:24:48Z
Merge pull request #1559 from jeffbolznv/glslang_pch

Use precompiled headers for some glslang projects (MSVC-only)
- - - - -
8b782e77 by John Kessenich at 2018-11-06T21:51:27Z
Tests: Add test for ways of calling no-argument macro with ().

- - - - -
02ed310a by Jeff Bolz at 2018-11-07T15:35:31Z
Rename PCH macro to glslang_pch (to avoid name collision) and update to latest 
spirv-tools

- - - - -
0a339ec2 by John Kessenich at 2018-11-07T17:01:25Z
Merge pull request #1564 from jeffbolznv/spirv-pch

Rename PCH macro to glslang_pch (to avoid name collision) and update to latest 
spirv-tools
- - - - -
4ee2f752 by John Kessenich at 2018-11-08T00:22:17Z
PP: More clearly distinguish funtion-like and object-like macros

- - - - -
4207c97b by John Kessenich at 2018-11-08T01:25:56Z
Fix #1563: Corrupt token when an object macro miscalls a function macro

- - - - -
68fbda98 by GregF at 2018-11-08T17:35:45Z
Add DeadBranchElim before MergeReturn in legalization.

MergeReturn now requires this or could throw an error.

- - - - -
685fccd9 by John Kessenich at 2018-11-09T04:08:54Z
Merge pull request #1565 from greg-lunarg/kg25

Add DeadBranchElim before MergeReturn in legalization.
- - - - -
918caa7e by John Kessenich at 2018-11-09T19:27:39Z
Merge pull request #1547 from Igalia/apinheiro/xfb-struct-assignment

Apinheiro/xfb struct assignment
- - - - -
7bf5fcc5 by Rex Xu at 2018-11-12T07:15:57Z
Fix parser issue: redeclare gl_FragStencilRefARB is not supported

- - - - -
d509a5ee by John Kessenich at 2018-11-12T16:01:35Z
Merge pull request #1569 from amdrexu/bugfix

Fix parser issue: redeclare gl_FragStencilRefARB is not supported
- - - - -
70661b9c by Dan Sinclair at 2018-11-12T18:56:52Z
Handle potentially uninitialized result

- - - - -
0392544b by David Neto at 2018-11-12T22:09:07Z
PCH filename depends on current binary dir

Fixes #1572

- - - - -
97573b0c by John Kessenich at 2018-11-12T23:13:40Z
Merge pull request #1573 from dneto0/fix-pch

PCH filename depends on current binary dir
- - - - -
12fcaa2c by Dan Sinclair at 2018-11-13T14:17:44Z
Review feedback

- - - - -
7274bbc2 by John Kessenich at 2018-11-13T15:36:43Z
Merge pull request #1571 from dj2/result

Handle potentially uninitialized result
- - - - -
8279f072 by t.jung at 2018-11-14T07:13:32Z
Updated type conversion rules for HLSL frontend

- - - - -
31cd98c7 by t.jung at 2018-11-14T12:12:12Z
HLSL: implemented c register handling

Adjusted a test not to use c register for
a structured buffer, they are supposed to
use t registers

Added comments with hints for what are the
register types are used for.

- - - - -
697fdf01 by t.jung at 2018-11-14T13:27:22Z
HLSL: fix invalid spir-v vector * scalar for float1

Missing check for float results in always emitting OpIMul even for float types

- - - - -
e323a454 by John Kessenich at 2018-11-14T18:35:22Z
Merge pull request #1577 from TiemoJung/fix_broken_type_system

Updated type conversion rules for HLSL frontend
- - - - -
844e0773 by John Kessenich at 2018-11-14T18:39:22Z
Merge pull request #1580 from TiemoJung/float1_times_scalar_fix

HLSL: fix invalid spir-v vector * scalar for float1
- - - - -
e3cc0d35 by John Kessenich at 2018-11-14T18:40:45Z
Merge pull request #1579 from TiemoJung/handle_c_register

HLSL: implemented c register handling
- - - - -
75cbfcc2 by John Kessenich at 2018-11-15T16:57:43Z
Update to latest SPIR-V Tools.

- - - - -
1bc601c6 by John Kessenich at 2018-11-15T17:37:21Z
Bump revision.

- - - - -
3046fe41 by Timo Aaltonen at 2019-01-13T17:13:18Z
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
20ea4d49 by Timo Aaltonen at 2019-01-13T17:16:34Z
bump the version

- - - - -
5de3c71d by Timo Aaltonen at 2019-01-13T17:30:26Z
release to unstable

- - - - -


24 changed files:

- .appveyor.yml
- .gitattributes
- .travis.yml
- + BUILD.gn
- CMakeLists.txt
- + CODE_OF_CONDUCT.md
- README.md
- SPIRV/CMakeLists.txt
- SPIRV/GLSL.ext.KHR.h
- SPIRV/GLSL.ext.NV.h
- SPIRV/GLSL.std.450.h
- SPIRV/GlslangToSpv.cpp
- SPIRV/GlslangToSpv.h
- SPIRV/SPVRemapper.cpp
- SPIRV/SPVRemapper.h
- SPIRV/SpvBuilder.cpp
- SPIRV/SpvBuilder.h
- SPIRV/SpvPostProcess.cpp
- + SPIRV/SpvTools.cpp
- + SPIRV/SpvTools.h
- SPIRV/bitutils.h
- SPIRV/disassemble.cpp
- SPIRV/disassemble.h
- SPIRV/doc.cpp


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/glslang/compare/6ffa7c118f80a53a23935b90c7cc20f3d235179c...5de3c71d707f1a2dd2e9ee12ee63be72d8f7d7bd

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/glslang/compare/6ffa7c118f80a53a23935b90c7cc20f3d235179c...5de3c71d707f1a2dd2e9ee12ee63be72d8f7d7bd
You're receiving this email because of your account on salsa.debian.org.

Reply via email to