~pcsx2-team/pcsx2-github-mirror/+git/glslang:fix-arg-precision

Last commit made on 2020-06-26
Get this branch:
git clone -b fix-arg-precision https://git.launchpad.net/~pcsx2-team/pcsx2-github-mirror/+git/glslang

Branch merges

Branch information

Name:
fix-arg-precision
Repository:
lp:~pcsx2-team/pcsx2-github-mirror/+git/glslang

Recent commits

bf6efd0... by John Kessenich <email address hidden>

SPV: Fix #2293: keep relaxed precision on arg passed to relaxed param

When arguments are copied to make space for a writable formal parameter,
and the formal parameter is relaxed precision, make the copy also
relaxed precision.

4df1033... by John Kessenich <email address hidden>

SPV: Partially address #2293: correct "const in" precision matching.

Track whether formal parameters declare reduced precision and match
that with arguments, and if they differ, make a copy to promote the
precision.

fbb9dc2... by John Kessenich <email address hidden>

Merge pull request #2285 from proydakov/msvc-rtti-compilation-warning-fix

Fixed msvc 2019 nmake compiler warnings with RTTI.

b90adef... by Evgeny Proydakov

Fixed msvc 2019 nmake compiler warnings with RTTI.
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

8397044... by John Kessenich <email address hidden>

Merge pull request #2260 from gnl21/not-equal

Use OpFUnordNotEqual for floating-point !=

182ab46... by Graeme Leese <email address hidden>

Update test expected files with new magic number

Updating the SPIR-V generator version number changes the output of all
the SPIR-V tests.

060882f... by Graeme Leese <email address hidden>

Update SPIR-V generator version

Change to 10 to reflect the change to generating unordered !=
operations.

ff4b156... by Graeme Leese <email address hidden>

Update test results to expect OpFUnordNotEqual

65ce566... by Graeme Leese <email address hidden>

Use OpFUnordNotEqual for floating-point !=

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.

adacba3... by John Kessenich <email address hidden>

Update README.md