John Kessenich
81793ad2a3
Merge pull request #1450 from KhronosGroup/link-merge-all
...
Link: Merge all downstream consumed intermediate modes.
2018-07-20 12:40:32 -07:00
John Kessenich
b617e14acb
Link: Merge all the settings in TIntermediate.
...
Fixes #1309 .
2018-07-20 12:34:59 -06:00
John Kessenich
5d6b567950
Merge pull request #1436 from karl-lunarg/karl-ccache
...
build: Add ccache option to CMake config
2018-07-18 20:39:31 -07:00
John Kessenich
8103cb9580
Merge pull request #1446 from KhronosGroup/spv-link
...
Link/SPV: Correct symbol IDs on merging ASTs to a single coherent space
2018-07-18 17:29:17 -07:00
John Kessenich
ebd989dd58
Merge pull request #1437 from mattparks/patch-2
...
CMake options for postfix and SPVRemapper.
2018-07-18 17:15:32 -07:00
John Kessenich
34e56891b0
Merge branch 'jeffbolznv-missing_descriptor_indexing_extension'
2018-07-18 18:11:16 -06:00
John Kessenich
4137241a04
Merge branch 'missing_descriptor_indexing_extension' of https://github.com/jeffbolznv/glslang into jeffbolznv-missing_descriptor_indexing_extension
2018-07-18 18:10:45 -06:00
John Kessenich
41436ad204
Link/SPV: Correct symbol IDs on merging ASTs to a single coherent space
...
This is one step in providing full linker functionality for creating
correct SPIR-V from multiple compilation units for the same stage.
(This was the only remaining "hard" part. The rest should be simple.)
2018-07-18 18:07:41 -06:00
John Kessenich
806af25f74
Merge pull request #1442 from dneto0/use-forked-android-ndk-repo
...
NDK build: Use NDK r17b and its own CMake toolchain file
2018-07-12 15:07:51 -07:00
Jeff Bolz
c140b96892
Add missing OpExtension SPV_EXT_descriptor_indexing for dynamic indexing capabilities
2018-07-12 16:51:18 -05:00
John Kessenich
e7f9caeac4
Errors and Build: Fix build warnings, which also improved error messages.
2018-07-12 15:11:07 -06:00
David Neto
4aeca2df33
NDK build: Use NDK r17b and its own CMake toolchain file
...
More recent NDK releases have their own CMake toolchain file.
Use it.
Also, download the NDK from github.com:dneto0/android-ndk.
That is a fork of the repo we used to use, but we have more
control over how long it stays stable.
2018-07-12 14:56:29 -04:00
John Kessenich
b75c7065cc
Travis CI: Fix comments disabling code.
2018-07-12 11:37:09 -06:00
John Kessenich
e5b27660ba
Merge pull request #1440 from dneto0/later-android
...
WIP: Travis-CI: Use Android NDK r13b specifically
2018-07-12 10:01:54 -07:00
David Neto
3541d8a5a0
Travis-CI: Use Android NDK r13b specifically
...
The Travis-CI bot downloads a copy of the Android NDK. The source
we get it from recently updated to Android NDK r17b. However,
the android.toolchain.cmake file does not know how to parse the
Android native API level from that version of the NDK. So check
out the NDK r13b version that we were using until yesterday.
Fixes #1439
2018-07-12 12:02:26 -04:00
John Kessenich
8dafeab47e
Merge pull request #1438 from Think-Silicon/getUniformStages
...
Reflection exposes the Shader Stages where a Uniform is present
2018-07-11 08:19:21 -07:00
John Kessenich
0ea33a2628
Non-functional: Retrigger bots; the previous failure looks suspicious.
2018-07-11 02:24:36 -06:00
John Kessenich
cf6bd066b9
HLSL: Fix #1432 : Globally initialize local static variables.
2018-07-11 01:09:14 -06:00
dmpakas
f556e5da26
Reflection exposes the Shader Stages where a Uniform is present
2018-07-10 18:25:48 +03:00
Matthew Albrecht
f9c2aeb736
Allowed debug postfix to be changed.
2018-07-07 17:00:08 -05:00
Matthew Albrecht
857f25cfd2
Added the cmake option to disable building SPVRemapper.
2018-07-07 16:54:34 -05:00
John Kessenich
64315a8aed
Merge pull request #1434 from antiagainst/fix-spirv-tools-header
...
Use public SPIRV-Tools header
2018-07-06 13:18:32 -06:00
Karl Schultz
23770b9aae
build: Add ccache option to CMake config
...
This is totally optional, but lets people build this repo with
ccache to improve rebuild speeds. It also can help a great deal
on ccache-enabled CI systems like Travis-CI. We build fixed
revisions of glslang a lot on Travis, so this will be a big help
with CI machine loading.
2018-07-06 12:12:09 -06:00
Lei Zhang
a2c39a2947
Use public SPIRV-Tools header
2018-07-04 14:53:45 -04:00
John Kessenich
cd57b4ba0f
Merge pull request #1431 from KhronosGroup/implement-8-16-bit-storage
...
Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage …
2018-07-03 14:21:07 -06:00
John Kessenich
312dcfb070
Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions.
...
These introduce limited support for 8/16-bit types such that they can only be accessed in buffer memory and converted to/from 32-bit types.
Contributed from Khronos-internal work.
2018-07-03 13:51:31 -06:00
John Kessenich
eefab240f7
Bump revision.
2018-07-03 09:34:43 -06:00
John Kessenich
dccfeedfc3
HLSL: Fix #1423 : implement CalculateLevelOfDetailUnclamped().
...
(If there is a bias issue, we need to discover what it is.)
2018-07-02 18:53:19 -06:00
John Kessenich
ab8960fd12
Merge pull request #1416 from aejsmith/samplerless-texture-functions
...
Add support for GL_EXT_samplerless_texture_functions
2018-07-02 18:35:41 -06:00
John Kessenich
513cc4cf87
Merge branch 'HaydnTrigg-patch-1'
2018-07-02 16:13:29 -06:00
John Kessenich
c88edb1319
Merge branch 'patch-1' of https://github.com/HaydnTrigg/glslang into HaydnTrigg-patch-1
2018-07-02 16:04:08 -06:00
John Kessenich
5e70195477
Merge pull request #1420 from KhronosGroup/spir-dis
...
SPV: Add option to print disassembly in standard form using SPIRV-Tools.
2018-07-02 15:55:01 -06:00
John Kessenich
e2156222d3
SPV: Add option to print disassembly in standard form using SPIRV-Tools.
2018-07-02 15:54:12 -06:00
John Kessenich
6d61684f4b
Bump revision.
2018-07-02 13:49:16 -06:00
John Kessenich
802c62bca4
PP: Rationalize return values of MacroExpand.
...
This results in better error recovery, including fewer
crashes on badly formed PP input.
2018-07-02 13:47:31 -06:00
John Kessenich
9cc81de096
PP/HLSL: Fix #1424 : support comma in nested curly braces for macro arg
2018-07-02 10:40:32 -06:00
Alex Smith
e47bfaedf6
Add support for GL_EXT_samplerless_texture_functions
2018-07-01 10:58:53 +01:00
Haydn Trigg
e826286f99
Constant.cpp Floating point divide by zero
...
Constant.cpp will throw a floating point divide by zero if floating point exceptions are enabled in Win32 causing the program to crash. This fix manually checks the right-hand argument of the division and sets appropriate Infinity, Negative Infinity, or NAN as if the floating point exceptions were disabled.
2018-06-29 13:55:06 -04:00
John Kessenich
0b964b3c35
Merge pull request #1419 from tgjones/spirv-remap-artifact
...
Include spirv-remap.exe in AppVeyor artifacts
2018-06-27 16:47:38 -06:00
Tim Jones
9177e05f31
Include spirv-remap.exe in AppVeyor artifacts
2018-06-27 17:31:19 +08:00
John Kessenich
ef1f899b5d
Merge pull request #1413 from karl-lunarg/fix-update
...
script: Improve update sources script
2018-06-22 00:33:36 -06:00
Karl Schultz
fa403b9691
script: Improve update sources script
...
- remove unused variable to pass pylint
- Use another approach to detect if known-good remote is already
present to avoid the need for "ignore following errors" message.
2018-06-21 17:30:07 -06:00
John Kessenich
16cf5a5dc2
Merge pull request #1411 from KhronosGroup/fix-literal-warnings
...
Build: Make literal casting have fewer warnings and be more consistent.
2018-06-20 18:54:12 -06:00
John Kessenich
866f67140e
Build: Make literal casting have fewer warnings and be more consistent.
2018-06-20 18:10:55 -06:00
John Kessenich
5fe506a8ba
Merge pull request #1409 from greg-lunarg/remap3
...
Add support for OpConstantNull and OpConstantSampler to spirv-remap
2018-06-19 23:52:10 -06:00
GregF
c6831d1ed4
Add support for OpConstantNull and OpConstantSampler to spirv-remap
...
Fixes issue #1408
2018-06-19 13:51:28 -06:00
John Kessenich
c99304c5dc
Bump revision.
2018-06-19 09:47:23 -06:00
John Kessenich
2a805d9cea
Revert "GLSL: Fix #1279 : refract does not have a double-type eta."
...
This reverts commit ebec909487
.
Khronos decided glslang was originally correct, and the specifications
are incorrect.
2018-06-19 09:43:09 -06:00
John Kessenich
bea08fe02a
Merge pull request #1405 from Igalia/nroberts/amb-arrays
...
Take into account arrays of opaque types with --auto-map-bindings
2018-06-14 21:13:43 -06:00
Neil Roberts
1d024b5346
Take into account arrays of opaque types when reserving bindings
...
TDefaultIoResolverBase::reserveSlot and getFreeSlot now have a size
parameter to reserve a range of bindings. This is used by
TDefaultIoResolver::resolveBinding to reserve a continuous range when
the type is an array and the target API is GL.
2018-06-14 14:54:33 +02:00