-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing; better tests of environment mapping, minor fixes (#3694)
Would you believe we never had a testsuite test for environment mapping? Well, it wasn't totally untested, in the sense that OSL testsuite had one, and obviously it's used in production all the time. But OIIO's testsuite didn't have any tests of TextureSystem::environmemt(). We now remedy that. * Add testsuite/texture-env, contains several environment tests, including handles vs filenames, subimage selection, different interp and mip modes, ask for >4 channels. * New CMake build option OIIO_TEX_IMPLEMENT_VARYINGREF can be used for testing to disable implementation of the old 1.x style of batch texture calls. We don't use them, they are deprecated. This option give us a way to exclude them from code analysis, because we really don't care. * Fix bug with >4 channels for environment batch shading! * Avoid unnecessary spec lookup in TileID constructor. * Avoid building testtex test_hash during code coverage -- it is an extremely specialized test, not run in the testsuite, it shouldn't really count againt good code coverage.
- Loading branch information
Showing
25 changed files
with
513 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.