Testing: Add new tests, and new ways of testing, for floating-point.
- Adds a pragma to see binary output of double values (not portable) - Print decimals that show more values, but in a portable way (lots of portability issues) - Expand the tests to test more double values Note: it is quite difficult to have 100% portable tests for floating point. The current situation works by not printing full precision, and working around several portability issues.
Showing
- Test/baseResults/cppPassMacroName.frag.out 58 additions, 48 deletionsTest/baseResults/cppPassMacroName.frag.out
- Test/baseResults/lineContinuation.vert.out 2 additions, 2 deletionsTest/baseResults/lineContinuation.vert.out
- Test/baseResults/numeral.frag.out 2 additions, 2 deletionsTest/baseResults/numeral.frag.out
- Test/baseResults/stringToDouble.vert.out 903 additions, 0 deletionsTest/baseResults/stringToDouble.vert.out
- Test/cppPassMacroName.frag 18 additions, 0 deletionsTest/cppPassMacroName.frag
- Test/stringToDouble.vert 98 additions, 0 deletionsTest/stringToDouble.vert
- Test/tokenLength.vert 1 addition, 1 deletionTest/tokenLength.vert
- glslang/MachineIndependent/ParseHelper.cpp 2 additions, 1 deletionglslang/MachineIndependent/ParseHelper.cpp
- glslang/MachineIndependent/intermOut.cpp 70 additions, 23 deletionsglslang/MachineIndependent/intermOut.cpp
- glslang/MachineIndependent/localintermediate.h 6 additions, 1 deletionglslang/MachineIndependent/localintermediate.h
- gtests/AST.FromFile.cpp 1 addition, 0 deletionsgtests/AST.FromFile.cpp
Loading
Please register or sign in to comment