Implement Parser and Fix
Release 0.13.7
Parser library
- Migrate
STPTextureDefinitionLanguageto build targetSTPAlgorithm+Host. - Modify the specification of the TDL parser, it now never owns the raw TDL string object, and instead initialised with
std::string_view. - Implement INI utility for parsing MS INI document. It currently supports simple INI read and write.
- Implement test for the new INI utility.
- Completely abandoned library
SIMPLE.
Compiler warning fix
- Remove redundant use of
;at the end of a namespace block. - Fix a few signed-unsigned integer comparison.
- Declare explicit instantiation of template class with nested namespace specifier.
- Reorganise order of initialisation in constructors to ensure it is the same as the declaration order in class.
- Use attribute to suppress certain compiler warnings, such as switch case fall through and unused variable.
- Fix invalid scoping and nested typename specification in
STPTestFreeSlipwhich causes some conpilers to complain.
General fixes and improvement
- Fix a few spelling mistakes in the source code documentation.
- Bump
Catch2version to v3.0.1. Make certain updates toSTPConsoleReporterto address the API changes.
As the API of the test library becomes stable, it should work with any v3.0 version onwards in the future without the need to update the source code every time.
- Resolve a double unresidence of texture handle in
STPBidirectionalScatteringwhich causes GL to throw error. - Add checking during creation of
STPBindlessTextureandSTPBindlessBufferto prevent multiple instances of the same texture handle / buffer address are being resident, which implies that it is prohibited to create multiple instances such objects, i.e., uniqueness gurantee. - Make declaration of Buffer variable in
STPTestHistogram.cppnon-static as the destructor is called after CUDA context is destroyed.- Remove a redundant test case.
STPTestRTC.cppcan now detect GPU compute capability automatically in runtime.- Remove redundant getter in
STPRainDropSetting.