Skip to content

Implement Parser and Fix

Choose a tag to compare

@stephen-hqxu stephen-hqxu released this 24 May 15:22
e65899f

Release 0.13.7

Parser library

  • Migrate STPTextureDefinitionLanguage to build target STPAlgorithm+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 STPTestFreeSlip which causes some conpilers to complain.

General fixes and improvement

  • Fix a few spelling mistakes in the source code documentation.
  • Bump Catch2 version to v3.0.1. Make certain updates to STPConsoleReporter to 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 STPBidirectionalScattering which causes GL to throw error.
  • Add checking during creation of STPBindlessTexture and STPBindlessBuffer to 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.cpp non-static as the destructor is called after CUDA context is destroyed.
    • Remove a redundant test case.
  • STPTestRTC.cpp can now detect GPU compute capability automatically in runtime.
  • Remove redundant getter in STPRainDropSetting.