* Add Ubuntu 24.04 to CI matrix.
* Fix embree4 bitrot.
* For Linux, only upload artifact from Ubuntu 22.04 for now
Should fix this error reported on ubuntu-22.04's CI
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
* Use system TBB and Embree 4 on ubuntu-24.04
* skip packaging of embree/TBB if using system provided packages
* For Linux, only upload artifact from Ubuntu 22.04 for now (fix)
* common: fix ASan error on non-null-terminated (16 char long) texture names
---------
Co-authored-by: Daniel Svensson <dsvensson@gmail.com>
* tests: replace doctest with googletest
- googletest command-line output lists a nice summary of failed tests at the end, doctest's doesn't
- string test case names in doctest make IDE file structure view useless
- googletest has VS support
- doctest development stalled
other changes:
- get rid of doctest::skip(), all tests run now.
(was only applied to 3 tests: "winding", "mountain", "base1")
* check for test failure
* Revert "check for test failure"
This reverts commit a71d020c5a.
* fix test names to comply with gtest rules
merge some light algorithms together
allow changing attenuation on surface lights with _surflight_atten
replace some emplace_back's with push_back to improve compilation times
* light: Add support for LIGHTING_E5BGR9.
This is not really finished. Currently mutually exclusive with
regular RGBLIGHTING, and not tested with external .lit file.
* light: replace HDR_PackResult with a version following the OpenGL spec
- add HDR_UnpackE5BRG9 for unpacking
- caller is now responsible for scaling 128 -> 1
- expose in header for tests
* light: move HDR_PackE5BRG9/HDR_UnpackE5BRG9 to common/litfile.hh
* build: std::powf not available in gcc
* common: move LoadLitFile to litfile.hh
* common: LoadLitFile: return hdr variant as well
* lightpreview: add an Exposure slider
* lightpreview: support hdr .lit's, wip
* tests: refactoring to set up testing for hdr lit's
* tests: add test for -hdr and -bspxhdr
* tests: fix LM_Sample to deal with styles correctly
* lightpreview: fix glsl error
* lightpreview: show dialog box for glsl compile errors
---------
Co-authored-by: Daniel Svensson <dsvensson@gmail.com>