greg-lunarg
2c7c84c8ac
Merge pull request #2589 from ben-clayton/fix-warnings
...
Fix warnings about int comparisons of different signness
2021-03-23 10:29:38 -06:00
Ben Clayton
591651da3d
Fix warnings about int comparisons of different signness
...
Warnings in public headers can trigger warnings-as-errors.
2021-03-23 10:47:59 +00:00
greg-lunarg
c51a774ebd
Merge pull request #2588 from jeremy-lunarg/hayes-2530
...
Default to KHR extension
2021-03-22 17:42:43 -06:00
greg-lunarg
b50ac578dd
Merge pull request #2587 from mbechard/master
...
Don't check precision qualifiers on cross-stage checks
2021-03-22 17:39:47 -06:00
Jeremy Hayes
13e27f9dd0
Default to KHR extension
...
Fix #2530 .
2021-03-22 13:42:43 -06:00
Malcolm Bechard
8bbd41f274
Don't check precision qualifiers on cross-stage checks
...
Fixes #2586
2021-03-22 15:06:44 -04:00
greg-lunarg
6701c2540b
Merge pull request #2583 from nullcatalyst/bazel-windows-bat
...
Add cmd_bat action to bazel export_spirv_headers target
2021-03-22 11:49:55 -06:00
greg-lunarg
6848167e94
Merge pull request #2582 from JustSid/master
...
Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal
2021-03-22 11:44:52 -06:00
Scott Bennett
50dce096d9
Add cmd_bat action to bazel export_spirv_headers target
...
Only having `cmd` rather than separate `cmd_bash` and `cmd_bat` (or
`cmd_ps`) requires bash to be installed on Windows. So adding support
for `cmd_bat` makes glslangValidator easier to compile on Windows.
2021-03-19 21:20:46 -04:00
greg-lunarg
847a19cd2b
Merge pull request #2581 from mbechard/InconsistentGLPerVertex
...
Partial fix for inconsistencies re: #2578
2021-03-19 17:38:51 -06:00
Sidney Just
7662557d2a
Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal
2021-03-19 13:26:53 -07:00
Malcolm Bechard
9b962f611c
Partial fix for inconsistencies re: #2578
...
gl_SecondaryPositionNV and gl_PositionPerViewNV are inconsistently
declared inside and outside of gl_PerVertex. This breaks interface block
matching. For now ignore these errors since it should be fixed with how
they are declared.
2021-03-19 16:18:42 -04:00
greg-lunarg
979319b9b1
Merge pull request #2579 from mbechard/master
...
Fix issue with remapping global uniform blocks
2021-03-18 17:22:13 -06:00
greg-lunarg
d18bcd64fa
Merge pull request #2574 from feifei14119/master
...
fix typo for u64vec2/3/4 type define value
2021-03-17 18:21:16 -06:00
Malcolm Bechard
5340752190
Fix issue with remapping global uniform blocks
...
Avoid adding global uniform blocks to stages that don't already have it.
Otherwise multiple stages point to the same block object, and a
remapping that occurs later on will change the mapping on multiple
stages.
2021-03-17 19:30:22 -04:00
greg-lunarg
f5929b8c5f
Merge pull request #2577 from mbechard/master
...
fix variable capitalization. Don't initialize it in the struct's constructor
2021-03-17 15:46:13 -06:00
Malcolm Bechard
48f08c60e2
fix variable capitilization. Don't initialize it in the struct's constructor
2021-03-16 19:00:52 -04:00
greg-lunarg
b2e5b5c559
Merge pull request #2576 from KhronosGroup/revert-2569-revert-2242-GL_EXT_vulkan_glsl_relaxed
...
Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper""
2021-03-15 13:38:49 -06:00
greg-lunarg
4e064eef46
Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper""
2021-03-15 11:26:11 -06:00
feifei14119
e3235cb2e4
1. fix macro definition value for unsinged-int64-vector, according to kronos spec at https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_int64.txt ; 2. fix typo in reflection
2021-03-15 16:54:31 +08:00
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