- 26 Jun, 2020 1 commit
-
-
John Kessenich authored
Track whether formal parameters declare reduced precision and match that with arguments, and if they differ, make a copy to promote the precision.
-
- 24 Jun, 2020 1 commit
-
-
John Kessenich authored
Fixed msvc 2019 nmake compiler warnings with RTTI.
-
- 23 Jun, 2020 1 commit
-
-
Evgeny Proydakov authored
By default cmake generates cxx_flags with `/GR` parameter. I updated CMAKE_CXX_FLAGS string and replaced `/GR` -> `/GR-` 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 COMPILATION BEFORE: Scanning dependencies of target OSDependent [ 1%] Building CXX object glslang/OSDependent/Windows/CMakeFiles/OSDependent.dir/ossource.cpp.obj cl : Command line warning D9025 : overriding '/GR' with '/GR-' ossource.cpp [ 3%] Linking CXX static library OSDependent.lib [ 3%] Built target OSDependent Scanning dependencies of target OGLCompiler [ 4%] Building CXX object OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.obj cl : Command line warning D9025 : overriding '/GR' with '/GR-' InitializeDll.cpp [ 6%] Linking CXX static library OGLCompiler.lib [ 6%] Built target OGLCompiler Scanning dependencies of target glslang [ 7%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/glslang_tab.cpp.obj cl : Command line warning D9025 : overriding '/GR' with '/GR-' glslang_tab.cpp [ 9%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/attribute.cpp.obj cl : Command line warning D9025 : overriding '/GR' with '/GR-' 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 COMPILATION AFTER: [ 1%] Building CXX object glslang/OSDependent/Windows/CMakeFiles/OSDependent.dir/ossource.cpp.obj ossource.cpp [ 3%] Linking CXX static library OSDependent.lib [ 3%] Built target OSDependent [ 4%] Building CXX object OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.obj InitializeDll.cpp [ 6%] Linking CXX static library OGLCompiler.lib [ 6%] Built target OGLCompiler [ 7%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/glslang_tab.cpp.obj glslang_tab.cpp [ 9%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/attribute.cpp.obj FLAGS AFTER: -- 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
-
- 22 Jun, 2020 7 commits
-
-
John Kessenich authored
Use OpFUnordNotEqual for floating-point !=
-
Graeme Leese authored
Updating the SPIR-V generator version number changes the output of all the SPIR-V tests.
-
Graeme Leese authored
Change to 10 to reflect the change to generating unordered != operations.
-
Graeme Leese authored
-
Graeme Leese authored
The normal IEEE not equal operation tests whether operands are unordered or not equal (so comparison with a NaN returns true). This corresponds to the SPIR-V OpFUnordNotEqual, so change to using that.
-
John Kessenich authored
-
John Kessenich authored
Add -g0 command line argument
-
- 19 Jun, 2020 3 commits
-
-
John Kessenich authored
Add more Kokoro configurations
-
Ben Clayton authored
-
Ben Clayton authored
gnustl_static is no longer supported.
-
- 18 Jun, 2020 1 commit
-
-
Shahbaz Youssefi authored
Analogous to gcc, -g0 would strip all debug info. This is done regardless of whether optimizations are enabled. Signed-off-by:Shahbaz Youssefi <ShabbyX@gmail.com>
-
- 16 Jun, 2020 7 commits
-
-
John Kessenich authored
-
John Kessenich authored
Move hlsl/ source to glslang/HLSL/
-
John Kessenich authored
-
Ben Clayton authored
Now that the HLSL source files are part of the `glslang` target (#2271), it makes sense for these to sit in the `glslang` directory. Changed the case of the directory from `hlsl` to `HLSL` to better match the sibling directories.
-
John Kessenich authored
Untangle build target cyclic dependencies (approach #2)
-
John Kessenich authored
-
Ben Clayton authored
... and stub the HLSL target. Fixes the building of shared libraries. This breaks the cyclic dependency between the `glslang` and `hlsl` targets (by essentially removing the `hlsl` target). The `BUILD.gn` and `BUILD.bazel` build rules already pull the `HLSL` source into the `glslang` target. `Android.mk` is the only remaining build config that has a dedicated `HLSL` target, but this is explicity static and does not suffer the same link-time issues with the cyclic dependency (we may wish to stub this target too). Related issue: #1484, #2147 Related PR: #2267
-
- 15 Jun, 2020 5 commits
-
-
dan sinclair authored
The `isMat` variable is no longer used in the HLSL parser. Removed.
-
Ryan Harrison authored
-
John Kessenich authored
Related to PR #2265.
-
rdb authored
-
Ben Clayton authored
This breaks a cyclic dependency between the SPIRV and glslang build targets.
-
- 11 Jun, 2020 1 commit
-
-
Ben Clayton authored
-
- 10 Jun, 2020 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
- 09 Jun, 2020 2 commits
-
-
Ryan Harrison authored
-
Roy.li authored
* Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. * Add negative test for xfb limit * update case result * Fix compile information issue Fix compile information issue and test comment issue. * remove es profile condition, use profileRequires to limit. * Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. Add negative test for xfb limit * Move es profile check out of version number check * Adjust error information and related cases remove the new version check, refine original version check. * Revert condition for vulkan, and remove redundant test code.
-
- 04 Jun, 2020 2 commits
-
-
Chow authored
* Add Shared/Std140 SSBO process & top-level array elements related process 1.Add process options for shared/std140 ssbo, following ubo process 2.Add IO Variables reflection option, would keep all input/output variables in reflection 3.Add Top-level related process, fix top-level array size issues, following spec 4.Split ssbo/ubo reflection options, merge blowup expanding all into function blowupActiveAggregate to allow other functions keep same entry format. Add options in StandAlone and test symbols. 1. Add options in StandAlone for std140/shared ubo/ssbo and all io variables reflection. 2. Add test for ssbo. When EShReflectionSharedStd140SSBO turns on, generated symbol and output would be different, to remind the difference. Defaultly disabled and nothing would change, nor blocking normal test. * Add options in runtest script, refresh test results. Add options in StandAlone: --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo refresh test results. Now the index, size of unsized array are expected.
-
Alejandro Piñeiro authored
If a uniform has an initializer it will now be given as the optional initializer operand to the OpVariable instruction. Fixes: https://github.com/KhronosGroup/glslang/issues/1259 Signed-off-by: Neil Roberts <nroberts@igalia.com> (the code) Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> (the tests) Signed-off-by:
Arcady Goldmints-Orlov <agoldmints@igalia.com> Co-authored-by:
Neil Roberts <nroberts@igalia.com>
-
- 03 Jun, 2020 1 commit
-
-
Ricardo Garcia authored
Fixes #2198.
-
- 02 Jun, 2020 6 commits
-
-
rdb authored
-
rdb authored
-
rdb authored
* HLSL: Fix handling of uniforms in entry point parameters * HLSL: fix handling of "uniform in" * Tests: Update baseResults of hlsl.function.frag.out for #2254 * HLSL: fix uniforms in function parameters for opaque types
-
alelenv authored
variables.
-
John Kessenich authored
-
dan sinclair authored
This CL updates the build scripts to only install to glslang/SPIRV instead of also installing to the SPIRV/ folder. The deprecation notice is also removed. Note, this may cause downstream build issues if include directories have not been updated Fixes #1964 #2216
-