greg-lunarg
a36d91e5ac
Merge pull request #2569 from KhronosGroup/revert-2242-GL_EXT_vulkan_glsl_relaxed
...
Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper"
2021-03-10 14:05:36 -07:00
greg-lunarg
e063363878
Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper"
2021-03-10 11:26:43 -07:00
greg-lunarg
84e11a858c
Merge pull request #2565 from greg-lunarg/i2564
...
Pass correct proxy type for atomicStore
2021-03-09 02:15:26 -07:00
greg-lunarg
e3182379ba
Merge pull request #2242 from mbechard/GL_EXT_vulkan_glsl_relaxed
...
GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper
2021-03-08 14:43:32 -07:00
Greg Fischer
b5c8fd4fcf
Pass correct proxy type for atomicStore
...
Fixes #2564
2021-03-08 14:19:31 -07:00
will brown
ecc9b9149f
Implement GL_EXT_vulkan_glsl_relaxed option
2021-03-08 13:31:39 -05:00
greg-lunarg
c7c7982ebe
Merge pull request #2560 from amdrexu/bugfix
...
SPV: The capability string for RayTracingProvisionalKHR is missing
2021-03-08 10:31:48 -07:00
Rex Xu
1034727263
SPV: The capability string for RayTracingProvisionalKHR is missing
...
Add it to GLSLang disassembler.
2021-03-04 17:00:49 +08:00
greg-lunarg
159b057080
Merge pull request #2559 from greg-lunarg/i2555
...
Allow DepthUnchanged and DepthReplaced Modes in same SPIR-V module.
2021-03-01 21:05:58 -07:00
Greg Fischer
b479ce0bfa
Allow DepthUnchanged and DepthReplaced Modes in same SPIR-V module.
...
Fixes #2555
2021-03-01 17:45:03 -07:00
greg-lunarg
0eca413092
Merge pull request #2558 from greg-lunarg/i2551
...
Allow grad texture ops in all shaders
2021-03-01 14:11:10 -07:00
Greg Fischer
740def238e
Allow grad texture ops in all shaders
...
Fixes #2551
2021-03-01 12:34:53 -07:00
greg-lunarg
42ddfbd3d5
Merge pull request #2557 from greg-lunarg/i2552b
...
Fix off-by-1 bug in gl_MaxCombinedTextureImageUnits check
2021-03-01 10:41:30 -07:00
greg-lunarg
e04a046ce7
Merge pull request #2554 from proydakov/Try-to-find-python-interpreter-from-host-first
...
Returned using find_host_package for PythonInterp 3 instead of find_pachage.
2021-02-26 18:06:27 -07:00
greg-lunarg
abb9befa1c
Merge pull request #2553 from amdrexu/bugfix
...
SPV: Change the key of extBuiltinMap to std::string
2021-02-26 18:05:52 -07:00
Greg Fischer
051fbbb69c
Fix off-by-1 bug in gl_MaxCombinedTextureImageUnits check
...
The problem was only with arrays of samplers.
Fixed #2552
2021-02-26 17:07:52 -07:00
greg-lunarg
3839066ee4
Merge pull request #2556 from greg-lunarg/i2541
...
Fix precision propagation around shifts
2021-02-26 15:51:48 -07:00
Greg Fischer
c176085909
Fix precision propagation around shifts
...
Fixes #2541
2021-02-26 14:25:38 -07:00
Evgeny Proydakov
a990b97d07
Returned using find_host_package for PythonInterp 3 instead of find_package.
...
I changed this logic here: 05798c17fb
It was originally fixed here: 967fa92d14
2021-02-26 14:32:38 +03:00
Rex Xu
77fe62f477
SPV: Change the key of extBuiltinMap to std::string
...
Using const char* is not a good choice. We assume strings are always
from spv::E_SPV_XXX definitions. However, it is not the case. We can
store the name strings of extended intruction set in local variables.
2021-02-26 18:47:10 +08:00
greg-lunarg
51d672b8a8
Merge pull request #2544 from ZhiqianXia/master
...
Replace log2 and exp2 math func.
2021-02-25 10:38:39 -07:00
ZhiqianXia
47a21828bd
fix a typo
2021-02-25 15:37:40 +08:00
greg-lunarg
00c6d2d4a7
Merge pull request #2549 from jeremy-lunarg/hayes-2479
...
Require fixed workgroup size declaration
2021-02-24 16:56:10 -07:00
Jeremy Hayes
1c62806468
Require fixed workgroup size declaration
...
Fix 2479.
2021-02-24 14:49:31 -07:00
greg-lunarg
9801a9e42a
Merge pull request #2546 from proydakov/msvc-noexcept-fix
...
Fixed msvc 2019 nmake noexcept build.
2021-02-24 12:02:07 -07:00
Evgeny Proydakov
5f7228e785
Fixed msvc 2019 nmake noexcept build.
...
By default cmake generates cxx_flags with /EHsc parameter.
I updated CMAKE_CXX_FLAGS string and removed /EHsc, also I added compile defenitions _HAS_EXCEPTIONS=0, it is mandatory for noexcept build with MSVC STL implementation.
Output files became smaller.
How to reproduce:
Visual Studio 2019 x64 command port
mkdir build-msvc2019
cd build-msvc2019
cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=install ..
nmake
CXX FLAGS BEFORE:
-- CMAKE_C_FLAGS: /DWIN32 /D_WINDOWS /W3
-- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR- /EHsc
-- CMAKE_CXX_FLAGS_DEBUG: /MDd /Zi /Ob0 /Od /RTC1
-- CMAKE_CXX_FLAGS_RELEASE: /MD /O2 /Ob2 /DNDEBUG
-- ENABLE_RTTI: OFF
-- ENABLE_EXCEPTIONS: OFF
OUTPUT SIZE BEFORE:
Build folder size: 61,8 MB (64 808 580 bytes)
GLSLANG SIZE BEFORE:
glslang.lib 22,7 MB (23 887 150 bytes)
CXX FLAGS AFTER:
-- CMAKE_C_FLAGS: /DWIN32 /D_WINDOWS /W3
-- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR-
-- CMAKE_CXX_FLAGS_DEBUG: /MDd /Zi /Ob0 /Od /RTC1
-- CMAKE_CXX_FLAGS_RELEASE: /MD /O2 /Ob2 /DNDEBUG
-- ENABLE_RTTI: OFF
-- ENABLE_EXCEPTIONS: OFF
OUTPUT SIZE AFTER:
Build folder size: 58,4 MB (61 331 179 bytes)
GLSLANG SIZE AFTER:
glslang.lib 21,6 MB (22 655 252 bytes)
2021-02-24 11:08:57 +03:00
greg-lunarg
2e99822c14
Merge pull request #2537 from proydakov/fixed-cmake-warning
...
Fixed cmake generation warning for regeneration project build files.
2021-02-23 10:23:12 -07:00
Evgeny Proydakov
6332f80b2d
Code review. Thx greg-lunarg
for comments.
2021-02-23 17:14:42 +03:00
ZhiqianXia
53e0e6a56e
Replace the old version math func with C++11 to
...
prevent some presicion issue.
reference link:
https://www.cplusplus.com/reference/cmath/
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2021-02-23 10:00:25 +08:00
greg-lunarg
6f7a8ebf76
Merge pull request #2525 from ZhiqianXia/master
...
Cannot specify atomic counter with location.
2021-02-22 17:36:30 -07:00
greg-lunarg
c8b95db65e
Merge pull request #2540 from dgkoch/dgkoch_build_fix
...
Fix warning in build
2021-02-22 17:07:33 -07:00
greg-lunarg
5421877c38
Merge pull request #2543 from greg-lunarg/chg11.2.0
...
Update CHANGES.md to 11.2.0 to sync with current tagging.
2021-02-22 13:54:00 -07:00
Greg Fischer
82a37a3531
Update CHANGES.md to 11.2.0 to sync with current tagging.
2021-02-22 12:11:47 -07:00
Daniel Koch
d9b931e2e8
Fix warning in build
...
glslang/MachineIndependent/SymbolTable.h:892:41: error: comparison of integers of
different signs: 'int' and 'const uint32_t' (aka 'const unsigned int') [-Werror,-Wsign-compare]
uint64_t level = currentLevel() > MaxLevelInUniqueID ? MaxLevelInUniqueID : currentLevel();
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
1 error generated.
2021-02-19 16:48:50 -05:00
Evgeny Proydakov
31d234c1da
Fixed cmake generation warning for regeneration project build files.
...
[BEFORE]:
% cmake ..
CMake Warning (dev) at CMakeLists.txt:35 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- No build type selected, default to Debug
-- Found PythonInterp: /usr/local/bin/python3 (found version "3.9")
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.9", minimum required is "3")
-- optimizer enabled
-- Google Mock found - building tests
-- Configuring done
[AFTER]:
% cmake ..
-- No build type selected, default to Debug
-- Google Mock was not found - tests based on that will not build
-- Configuring done
-- Generating done
2021-02-19 02:18:17 +03:00
greg-lunarg
e56beaee73
Merge pull request #2536 from greg-lunarg/chg0
...
Update CHANGES for 11.1.0
2021-02-18 15:18:16 -07:00
Greg Fischer
ecd9bb202f
Update CHANGES for 11.1.0
2021-02-18 12:04:17 -07:00
greg-lunarg
51b86c1a2b
Merge pull request #2532 from juliusikkala/master
...
Pass environment through PreprocessDeferred
2021-02-15 13:41:48 -07:00
greg-lunarg
b0f8a0c3ab
Merge pull request #2458 from ShchchowAMD/unique_id-fix
...
Fix issue for new unique id system.
2021-02-15 13:22:14 -07:00
Chow
93b400f267
Fix issue for new unique id system. Add level bits to help verifying symbols and split symbol tables.
...
For intermediates rebuilding, now need manually amending level bits for redeclaring built-ins.
2021-02-15 20:35:20 +08:00
Julius Ikkala
6274ec5c20
Pass environment through PreprocessDeferred
2021-02-14 14:24:17 +02:00
greg-lunarg
6ab923c69d
Merge pull request #2531 from greg-lunarg/kg116
...
Update spirv-tools and spirv-header known good.
2021-02-11 17:30:24 -07:00
Greg Fischer
6866807d6a
Update spirv-tools and spirv-header known good.
...
This is being done to allow Vulkan validation layers to pick up
the new differentiated error code support in spirv-tools for
GPU-AV.
2021-02-11 15:36:28 -07:00
greg-lunarg
4afd691772
Merge pull request #2526 from proydakov/regression-python3-is-required-even-without-using-SPIRV-Tools
...
Fixed issues 2496. Used option 4: parse_version.cmake to avoid python3 usage.
2021-02-09 10:02:24 -07:00
Evgeny Proydakov
e3dab6f0d2
Code review. Thx ben-clayton for comments.
2021-02-09 12:14:52 +03:00
Evgeny Proydakov
05798c17fb
Fixed issues 2496. Used option 4: parse_version.cmake to avoid python3 usage.
...
https://github.com/KhronosGroup/glslang/issues/2496
2021-02-09 12:14:52 +03:00
ZhiqianXia
5100efdfa9
Cannot specify atomic counter with location.
...
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2021-02-09 09:42:48 +08:00
ZhiqianXia
29b2a08133
Cannot specify atomic counter with location.
...
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2021-02-09 09:39:40 +08:00
ZhiqianXia
c8db4f437a
Cannot specify atomic counter with location.
...
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2021-02-07 17:20:14 +08:00
greg-lunarg
386b4fcb28
Merge pull request #2523 from dneto0/remove-stray-semi
...
Remove useless semicolon
2021-02-03 15:50:43 -07:00