bf6efd0...
by
John Kessenich <email address hidden>
on 2020-06-26
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>
on 2020-06-26
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>
on 2020-06-24
Merge pull request #2285 from proydakov/ msvc-rtti- compilation- warning- fix
Fixed msvc 2019 nmake compiler warnings with RTTI.
b90adef...
by
Evgeny Proydakov
on 2020-06-23
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/InitializeD ll.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/MachineInde pendent/ glslang_ tab.cpp. obj
cl : Command line warning D9025 : overriding '/GR' with '/GR-'
glslang_tab.cpp
[ 9%] Building CXX object glslang/ CMakeFiles/ glslang. dir/MachineInde pendent/ 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/InitializeD ll.cpp. obj
InitializeDll.cpp
[ 6%] Linking CXX static library OGLCompiler.lib
[ 6%] Built target OGLCompiler
[ 7%] Building CXX object glslang/ CMakeFiles/ glslang. dir/MachineInde pendent/ glslang_ tab.cpp. obj
glslang_tab.cpp
[ 9%] Building CXX object glslang/ CMakeFiles/ glslang. dir/MachineInde pendent/ 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>
on 2020-06-22
Merge pull request #2260 from gnl21/not-equal
Use OpFUnordNotEqual for floating-point !=
182ab46...
by
Graeme Leese <email address hidden>
on 2020-06-22
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>
on 2020-06-22
Update SPIR-V generator version
Change to 10 to reflect the change to generating unordered !=
operations.
ff4b156...
by
Graeme Leese <email address hidden>
on 2020-06-05
Update test results to expect OpFUnordNotEqual
65ce566...
by
Graeme Leese <email address hidden>
on 2020-06-05
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>
on 2020-06-22
Update README.md