Andreas Flöjt
1b93de4f1d
Fix construction issue for 8 and 16 bit types.
...
The problem is that constructing a float16_t, int8_t, uint8_t, int16_t,
or uint16_t with a non 32-bit argument generates an aggregate with the
wrong construction op. For int8_t and uint8_t, this resulted in a crash.
2019-11-11 11:30:22 +01:00
John Kessenich
f34cdc70ca
Merge pull request #1968 from dneto0/reclaim-web-codespace
...
SPIR-V postprocessing: WEB case only needs CFG mods
2019-11-07 20:31:16 -07:00
John Kessenich
44f5c625bb
Merge pull request #1967 from kainino0x/fix-dot-free
...
Fix compileGLSLZeroCopy accidental minification
2019-11-07 20:29:18 -07:00
David Neto
e43e8ba9f3
SPIR-V postprocessing: WEB case only needs CFG mods
...
The SPIR-V post-processing to discover capabilities and
extensions does not apply to WebGPU compilation. So don't include
that code.
This reclaims some of the code space added by #1943
2019-11-07 17:55:22 -05:00
Kai Ninomiya
d87d3a062e
Fix compileGLSLZeroCopy accidental minification
2019-11-07 11:10:47 -08:00
John Kessenich
e471df3c91
Merge pull request #1963 from KhronosGroup/revert-7b0e236
...
Fix #1959 by reverting 7b0e236
to put files in two places.
2019-11-06 08:56:22 -07:00
John Kessenich
442a8a9948
Merge pull request #1966 from dj2/readme
...
Add deprecation for SPIRV/ install folder location.
2019-11-06 08:55:59 -07:00
dan sinclair
af7c73b1c3
Add deprecation for SPIRV/ install folder location.
...
This Cl updates the README.md to reference the deprecation date for the
current SPIRV/ install location.
Issue #1964
2019-11-06 09:50:40 -05:00
John Kessenich
199d115e15
Fix #1959 by reverting 7b0e236
to put files in two places.
2019-11-05 18:05:42 -07:00
John Kessenich
5d0e01d9e7
Merge pull request #1961 from zoddicus/fixChromiumRoll
...
Remove std::move that is breaking chromium roll
2019-11-05 01:05:10 -07:00
Ryan Harrison
0552c0acc8
Remove std::move that is breaking chromium roll
...
This is causing the following error:
moving a temporary object prevents copy elision
[-Werror,-Wpessimizing-move]
2019-11-04 16:23:11 -05:00
John Kessenich
90cecb5206
Merge pull request #1953 from null77/gn-add-missing-headers
...
Add a couple missing headers to the GN build.
2019-11-03 21:34:06 -07:00
John Kessenich
36be19fc15
Merge pull request #1954 from corporateshark/master
...
Fix warning: size_t->int implicit cast
2019-11-03 21:33:42 -07:00
John Kessenich
18d6b6b63e
Tests: Add more test results for the previous generator version bump.
2019-11-03 00:22:47 -06:00
John Kessenich
31c3370d83
Bump up the generator version, which is exposed in SPV test results.
2019-11-02 21:26:40 -06:00
Sergey Kosarevsky
d48881c79b
Fix warning: size_t->int implicit cast
2019-11-03 01:34:54 +03:00
Jamie Madill
6fbc1af8ae
Add a couple missing headers to the GN build.
...
Detected with ANGLE's export_targets script.
2019-11-02 09:56:09 -04:00
John Kessenich
31ab84a51b
Merge branch 'dneto0-dead-code'
2019-11-01 11:11:42 -06:00
John Kessenich
1097378907
Merge branch 'dead-code' of https://github.com/dneto0/glslang into dneto0-dead-code
2019-11-01 11:02:55 -06:00
John Kessenich
7f77b2e866
Bump version.
2019-11-01 10:51:21 -06:00
John Kessenich
48233ad3d4
Merge pull request #1949 from corporateshark/master
...
Add option ENABLE_CTEST to skip testing
2019-10-31 18:28:53 -06:00
David Neto
8c3d5b4b6c
SPIR-V: Aggressively prune unreachable merge, continue target
...
More aggressively prune unreachable code as follows.
When no control flow edges reach a merge block or continue target:
- delete their contents so that:
- a merge block becomes OpLabel, then OpUnreachable
- a continue target becomes OpLabel, then an OpBranch back to the
loop header
- any basic block which is dominated by such a merge block or continue
target is removed as well.
- decorations targeting the removed instructions are removed.
Enables the SPIR-V builder post-processing step the GLSLANG_WEB case.
2019-10-29 15:33:54 -04:00
Sergey Kosarevsky
3b8d94f422
Add option ENABLE_CTEST to skip testing
2019-10-25 11:57:11 +03:00
John Kessenich
b131630e7c
Merge pull request #1948 from greg-lunarg/kg108
...
Update spirv-tools known good.
2019-10-24 20:49:36 -06:00
Greg Fischer
b44dac1968
Update spirv-tools known good.
2019-10-24 10:37:01 -06:00
John Kessenich
7662586844
Merge pull request #1947 from ehsannas/fix_licenses
...
Make buildbot licenses consistent with the rest of the code
2019-10-23 22:25:47 -06:00
Ehsan Nasiri
4b9b07a85a
Make buildbot licenses consistent with the rest of the code
2019-10-23 15:03:38 -04:00
John Kessenich
341701573a
Merge pull request #1946 from KhronosGroup/extend-web
...
Web: Extend with compute stage, SSBOs, and atomics on SSBO memory.
2019-10-23 10:32:16 -06:00
David Turner
a3f0da56e4
BUILD.gn: Fix fuchsia build ( #1944 )
...
The Fuchsia platform build and the Chromium one use a completely
different set of configs to specify default warnings. The previous
version of BUILD.gn worked with Chromium, but failed to build
with Fuchsia.
This CL fixes the issue by identifying said configs and reusing
them consistently.
Change-Id: I7de526a57d2f14eb93c03e06401d2c3059d35e9a
2019-10-23 08:07:19 -06:00
John Kessenich
f8d1d7442b
Web: Reclaim more space and make all work w/wo GLSLANG_WEB.
2019-10-23 03:15:55 -06:00
John Kessenich
e5eee8fb03
Web: Add basic atomics for SSBOs.
2019-10-23 00:25:39 -06:00
John Kessenich
3dd1ce5b54
Web: Add SSBOs and a few other missing compute features.
2019-10-23 00:25:39 -06:00
John Kessenich
51ed01c877
Web: Add compute stage.
2019-10-23 00:25:39 -06:00
John Kessenich
61c22e255d
Web: Add separate texture/sampler, exclude *CubeArray*.
...
Looks like will add about 1K compressed size to executable footprint.
2019-10-23 00:25:38 -06:00
Timo Suoranta
5e634c8999
Enable generation of compile_commands.json ( #1938 )
2019-10-21 22:38:04 -06:00
David Dubois
f57feff786
Fix the exports of glslang-default-resource-limits ( #1942 )
2019-10-21 22:31:44 -06:00
John Kessenich
e7db8f405a
Merge pull request #1941 from ehsannas/bazel_build
...
Add Bazel build files and bots for them
2019-10-21 22:30:13 -06:00
Timo Suoranta
f0a85fc744
Fixes for gcc 9 / -Werror=deprecated-copy
...
Also enable -Werror-deprecated-copy for GCC version 9 and later.
2019-10-19 15:36:34 +03:00
Ehsan Nasiri
d3f3f01c4f
Run tests on Windows too.
2019-10-18 13:49:59 -04:00
Ehsan Nasiri
2398b216af
Fix build scripts.
2019-10-18 12:25:59 -04:00
Ehsan Nasiri
af7991e062
More cleanups for Windows.
2019-10-18 12:21:11 -04:00
Ehsan Nasiri
8b11dfe167
Add Kokoro bots for building using Bazel.
2019-10-17 16:12:43 -04:00
Ehsan Nasiri
dccaa59c98
Make it work on Windows.
2019-10-17 15:14:20 -04:00
John Kessenich
834ee546f9
Merge pull request #1937 from jeffbolznv/volatile_atomics
...
Only apply volatile semantics to atomics when using Vulkan Memory Model
2019-10-17 12:12:44 -06:00
Jeff Bolz
016ddee83a
Only apply volatile semantics to atomics when using Vulkan Memory Model
2019-10-17 11:22:57 -05:00
Ehsan Nasiri
0608b9d682
Add Bazel build configuration files.
...
In order to avoid potential build failures that could arise from
SPIRV-Tools/Headers, and to avoid reading known_good.json, this build
configuration does not build the SPIRV-Tools dependency and hence cannot
perform HLSL compilation to SPIR-V.
2019-10-17 10:04:43 -04:00
John Kessenich
a959deb007
Merge pull request #1933 from dj2/runtest
...
Make runtests configurable.
2019-10-16 20:53:39 -06:00
Dan Sinclair
3290d38011
Use commandline options instead of ENV variables
2019-10-16 13:08:48 -04:00
John Kessenich
9e4f6d03f2
Merge pull request #1932 from zoddicus/anotherSemiColonFix
...
Fix config issues and revert previous fixes for semi-colon issues
2019-10-16 10:39:51 -06:00
Ryan Harrison
622024277e
Keep code style improvements
2019-10-16 11:46:37 -04:00