4231 Commits

Author SHA1 Message Date
John Kessenich
50ada66c27
Merge pull request #1792 from Roy-AMD/automapping-opengl-location
Automapping opengl location
2019-07-23 02:18:18 -06:00
John Kessenich
3464b6f519
Merge pull request #1847 from alelenv/member_remap_fix
Fix missing decoration and bug in member remap
2019-07-22 23:55:54 -06:00
Ashwin Lele
c1e61d6cff Fix bugs in missing Builtin decoration for some NV builtins for tessellation
control shaders.
Fix bug in member remapping.
2019-07-22 12:36:38 -07:00
John Kessenich
2bb2da9193 SPV: Update to latest SPIR-V header. 2019-07-22 07:06:50 -06:00
John Kessenich
333d1c9579
Merge pull request #1845 from greg-lunarg/kg105
Update spirv-tools and spirv-headers known good.
2019-07-22 06:30:59 -06:00
Greg Fischer
38317065f6 Update spirv-tools and spirv-headers known good.
Previous known-good contained regression per sperron at Google.
2019-07-18 13:53:09 -06:00
John Kessenich
9f2236e58e Build: shut up warning to add unnecessary parens. 2019-07-17 19:15:47 -06:00
Ashwin Lele
a76d1c211b Fix bug in printing trailing comma when dumping AST for a structure. 2019-07-17 14:40:58 -07:00
John Kessenich
74426f7570
Merge pull request #1841 from jmacnak-nv/jmacnak-raytracing-descriptor-indexing-validation
Update known good SPIRV-Tools commit
2019-07-17 03:13:44 -06:00
Jason Macnak
ea5715ca7f Update known good SPIRV-Tools commit
Update the known good SPIRV-Tools commit to eventually propagate the
commit allowing the ray tracing stages in pass instrumentation to the
vulkan validation layers (validation layers depends on glslang which
depends on spirv-tools).
2019-07-16 09:39:54 -07:00
John Kessenich
e383c5f55d
Merge pull request #1837 from KhronosGroup/fix-NV_compute_shader_derivatives
ESSL: Fix #1823: Conditions for when derivatives are in compute shader.
2019-07-15 19:49:46 -06:00
John Kessenich
c7c52d1c2b
Merge pull request #1839 from sparmarNV/fix-NV_mesh_shader
Fix #1818: Allow unsized view array dimension for non-block perviewNV attributes
2019-07-15 19:48:32 -06:00
Sahil Parmar
f2dcc87c6a Allow unsized view array dimension for non-block perviewNV attributes 2019-07-15 16:14:00 -07:00
John Kessenich
50dc8c350b
Merge pull request #1824 from KhronosGroup/fix-spec-expr-array-check
SPV: Fix #1783: Don't do bounds checking for spec-const-expression size
2019-07-15 10:55:30 -06:00
John Kessenich
361931c6f3
Merge pull request #1836 from amdrexu/bugfix
OpIsHelperInvocationEXT should declare relevant SPV extension and capability
2019-07-15 07:23:16 -06:00
John Kessenich
33081e01d3 ESSL: Fix #1823: Conditions for when derivatives are in compute shader. 2019-07-15 01:20:18 -06:00
Rex Xu
bb7307b4a8 OpIsHelperInvocationEXT should declare relevant SPV extension and capability 2019-07-15 14:57:20 +08:00
John Kessenich
1a6e8534ce GLSL: Fix #1833: Don't constant fold integer mix to a float. 2019-07-13 12:23:11 -06:00
John Kessenich
25a508cc73
Merge pull request #1835 from jmacnak-nv/jmacnak-sample-coverage-capability
spirv: Generate missing SampleMaskOverrideCoverageNV capability op
2019-07-12 18:29:59 -06:00
John Kessenich
854439c6b9
Merge pull request #1834 from zoddicus/addRTTIFlag
Explicitly remove RTTI in the top-level build config
2019-07-12 18:29:13 -06:00
Jason Macnak
dbd4c3ce11 spirv: Generate missing SampleMaskOverrideCoverageNV capability op
The SampleMaskOverrideCoverageNV capability should be declared when
gl_SampleMask is used.
2019-07-12 14:33:02 -07:00
Ryan Harrison
bbf172b518 Explicitly remove RTTI in the top-level build config
Fixes #1831
2019-07-12 14:25:18 -04:00
John Kessenich
71892a5eda
Merge pull request #1833 from AaronHaganAMD/master
Add support for SPV_KHR_shader_clock
2019-07-11 13:16:09 -06:00
amhagan
91fb0091a2 Add support for SPV_KHR_shader_clock 2019-07-10 21:34:12 -04:00
John Kessenich
c538b5d796
Merge pull request #1832 from jeffbolznv/issue1828
Avoid generating 8/16-bit constants when 8/16-bit arithmetic extensions aren't enabled
2019-07-10 15:10:30 -06:00
Jeff Bolz
c1ad396258 Avoid generating 8/16-bit constants when 8/16-bit arithmetic extensions aren't enabled 2019-07-10 15:04:29 -05:00
John Kessenich
f970253a5d
Merge pull request #1827 from alan-baker/update-spirv-tools
Update spirv tools
2019-07-10 11:45:48 -06:00
John Kessenich
8aa9a7bb8f
Merge pull request #1825 from amdrexu/bugfix
Change implementation of gl_SIMDGroupSizeAMD
2019-07-09 00:14:27 -06:00
Alan Baker
87dd98f0e9 Test updates 2019-07-08 14:14:23 -04:00
Alan Baker
5a391cc57c Update SPIRV-Tools revision 2019-07-08 14:14:13 -04:00
Rex Xu
e085d83427 Change implementation of gl_SIMDGroupSizeAMD 2019-07-06 23:40:10 +08:00
John Kessenich
96524f9168 SPV: Fix #1783: Don't do bounds checking for spec-const-expression size
It's okay for symbolic spec-consts, but without constant folding,
not okay when the array size is an expression.
2019-07-03 09:37:25 -06:00
John Kessenich
4b4b41a634 HLSL: Fix #1815: Don't constant fold spec-constant array indexing. 2019-07-03 01:28:51 -06:00
John Kessenich
22683b409e
Merge pull request #1819 from jeffbolznv/demote
update spirv-headers to pick up demote_to_helper_invocation
2019-07-02 11:04:44 -06:00
Jeff Bolz
6a50a7850d update spirv-headers to pick up demote_to_helper_invocation 2019-07-02 10:58:15 -05:00
John Kessenich
e5c394bcba Standalone: Fix #1814: Check that linkage was specified for reflection. 2019-07-02 09:47:42 -06:00
John Kessenich
974a586688
Merge pull request #1817 from jeffbolznv/demote
Implement GL_EXT_demote_to_helper_invocation
2019-07-02 02:20:18 -06:00
John Kessenich
73f0108138 Build: Tweak PR #1808 to avoid an implicit conversion warning. 2019-07-02 01:51:50 -06:00
Jeff Bolz
ba6170b534 Implement GL_EXT_demote_to_helper_invocation 2019-07-01 09:36:15 -05:00
John Kessenich
4162de4bbf
Merge pull request #1811 from ShabbyX/fix
Remove extraneous semicolons
2019-06-26 00:53:18 -06:00
John Kessenich
1e063615d0
Merge pull request #1812 from ShabbyX/master
Remove __DATE__ and __TIME__ usage
2019-06-26 00:52:12 -06:00
Jeff Bolz
531344905f Handle SPIR-V type mismatch when constructing a composite 2019-06-25 13:32:35 -05:00
Shahbaz Youssefi
f4edb8f820 Remove __DATE__ and __TIME__ usage
These macros result in a non-deterministic build.  In chromium, these
macros are specifically set to empty, resulting in a compile error.
2019-06-25 13:20:42 -04:00
Shahbaz Youssefi
6cca0e983e Remove extraneous semicolons
They cause a warning (-Wextra-semi) that can lead to a compile error
(-Werror).
2019-06-25 13:20:16 -04:00
John Kessenich
4e6b9ea329
Merge pull request #1808 from jeffbolznv/promote_types
Handle all basic scalar types in promoteConstantUnion
2019-06-23 09:10:16 -06:00
Jeff Bolz
4b5c498923 Add a bunch of missing cases to promoteConstantUnion. Use macros to expand all the cases more simply. 2019-06-22 22:28:25 -05:00
John Kessenich
46cf14638a
Merge pull request #1807 from digit-google/fuchsia-fixes
BUILD.gn: Fix file for use with Fuchsia platform build.
2019-06-22 20:45:18 -06:00
Jeff Bolz
8912336663 Add test for constant type conversion 2019-06-21 23:32:25 -05:00
David 'Digit' Turner
1f5799c155 BUILD.gn: Fix file for use with Fuchsia platform build.
In order to upgrade the version of glslang used by the
Fuchsia platform source tree, BUILD.gn needs to be
slightly modified to care about the case where it is
not used with the Chromium //build configuration:

- Remove a new compiler warning to ensure proper
  compilation with -Werror (which is the default).

- Add a build target for spirv-remap, which is used
  by Fuchsia at build time to optimize the precompiled
  shaders of some of its graphics libraries.
2019-06-21 16:00:30 +02:00
John Kessenich
f9d08a25fb
Merge pull request #1804 from KhronosGroup/fix-930-subgroup--mask-ops
AST/SPV: Fix #930: translate uvec4 <-> uint64 for SubgroupGeMask et. al.
2019-06-18 02:00:46 -06:00