- update to 1.12.13.0:
* Fix constant float values being converted to ints
* Changes to support fmt 10.0
* Switch deprecated oiio simd names to modern
* Improve documentation of `trace` function
* README.md: added filmography and Siggraph OSL course
info.
* *docs* Amend the filmography
* *docs* Fix incorrect links in CONTRIBUTING
- update to 1.12.12.0:
* New ShadingSystem getattribute query for shader groups:
"attribute_types" retrieves a pointer to the array of
TypeDesc values describing the * attributes retrieved by
existing "attributes_needed" and
"attribute_scopes".
* Fix a bug with binding userdata when it's used by more than
one shader within the group and they disagree about whether
derivatives are needed when retrieving the attribute.
OBS-URL: https://build.opensuse.org/request/show/1108806
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=56
- update to 1.12.10.0:
+ feat(testrender): Modify testrender so that it correctly sets
raytype to "camera" for camera rays, "shadow" for shadow rays,
and "diffuse" for all secondary rays. Also rerun the shades for
background shader group on the camera rays rather than use the
cached map. This helps the MaterialX project use testrender for
certain unit tests and verification. #1648#1649
+ feat: Expose llvm groupdata size as a shadergroup attribute
"llvm_groupdata_size". #1642
+ fix: Crash could result from uncaught exception in OpenColorIO
when calling transformc with derivatives for color spaces that
require OCIO. #1646
+ fix: certain uses of fmod() in shaders could fail to generate
LLVM code correctly, due to a missing implementation for the
fmod(triple,float) varieties. #1643
+ build: Change snprintf formatting to satisfy some compilers.
#1640
+ CI: Fix broken Mac ci. #1647
- Force build with LLVM 15 on TW
- Add a BuildIgnore for clang-tools, that would render the llvm15
containment ineffective otherwise (by depending on clang16).
- Add 4G memory _constraints
OBS-URL: https://build.opensuse.org/request/show/1080379
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=52
- update to 1.12.8.0:
* Remove dependency on OptiX SDK for building core OSL with OptiX support.
You can now build OSL with OptiX support enabled even if you don't have the
OptiX SDK headers present at build time. But you will still need them to
build your OptiX-based application that uses OSL for GPU rendering.
* Batch mode: fix issue with closure keyword parameters.
* Batch mode: fix crash when adding a default initialized closure.
* Batch mode: Fix support for closures with array types.
* testshade: better testing of all closure parameter types.
* Fix various CI breaks as dependencies shifted.
OBS-URL: https://build.opensuse.org/request/show/1058601
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=48
Adressing Stefan's comments
- update to 1.12.7.0 -- 1 Nov 2022:
* Optix: Change naming of certain compiler-generated constants in
a way that improves use of the PTX cache. #1570
* Batch: Fix uninitialized members in ReadEvent internals. #1575
* testshade --help now prints TextureSystem options and hardware
info. #1584
* oslc: Fix memory leak in ASTvariable_declaration. #1576
* Fix memory leaks in light path expression code. #1593#1594
* Include the immintrin.h header only when needed. #1605
* icx: Improvements to fix problems exposed by new icx 2022.2
compiler. #1601
* Testing: CMake cache variables to control the testing timeout
length. #1571
* CI: Add a dynamic analysis test using address and leak
sanitizers. #1581
* CI: Now using SonarCloud static analysis. #1551
* CI: Many improvements in testing code coverage #1607
* CI: Make sure to run pointcloud tests when partio is found.
#1611
* Developers: platform.h now defines OSL_ALLOCA macro. #1589
* Developers: platform.h now defines OSL::bitcast utility. #1610
- Remove 1605.patch: included in release
OBS-URL: https://build.opensuse.org/request/show/1033834
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=44
- update to 1.12.6.2:
For details see
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/releases/tag/v1.12.6.2
* Batch shading: A fully operational "batch shading" support when
using CPUs supporting the Intel AVX2 or AVX512 instruction set
architectures, allows shading 8 or 16 points at a time,
accelerated by using SIMD instructions. (Changes contributed
by Intel.)
* OptiX: A reasonable subset of the OSL language can run on
NVIDIA GPUs for Cuda or OptiX-based renderers.
* Standardized material closures: Synchronize with MaterialX on
a minimum standard set of material closures. This is reflected
in both the OSL spec as well as reference implementations of
those closures in testrender.
- Remove subpackage with MaterialX shaders. These were already
deprecated for some time, instead ones from upstream
MaterialX project should be used.
- Drop upstream 0001-Fix-compatibility-with-LLVM-14.patch
OBS-URL: https://build.opensuse.org/request/show/1030214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenShadingLanguage?expand=0&rev=17
- update to 1.12.6.2:
For details see
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/releases/tag/v1.12.6.2
* Batch shading: A fully operational "batch shading" support when
using CPUs supporting the Intel AVX2 or AVX512 instruction set
architectures, allows shading 8 or 16 points at a time,
accelerated by using SIMD instructions. (Changes contributed
by Intel.)
* OptiX: A reasonable subset of the OSL language can run on
NVIDIA GPUs for Cuda or OptiX-based renderers.
* Standardized material closures: Synchronize with MaterialX on
a minimum standard set of material closures. This is reflected
in both the OSL spec as well as reference implementations of
those closures in testrender.
- Remove subpackage with MaterialX shaders. These were already
deprecated for some time, instead ones from upstream
MaterialX project should be used.
- Drop upstream 0001-Fix-compatibility-with-LLVM-14.patch
OBS-URL: https://build.opensuse.org/request/show/1030072
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=39
- update to 1.11.17.0:
* Fix in runtime optimizer where tracking of messages and unknown messages
relied on uninitialized variables.
* Minor changes related to OpenColorIO changing their master branch name to
"main". #1431
* Testing: Get texture3d tests operational again. #1437
* Docs: Fix missing "errormessage" explanation for environment() and
texture3d().
* Build/cmake fixes: Make PROJECT_VERSION_RELEASE_TYPE and
OSL_SUPPORTED_RELEASE be cache strings, so they can be overridden; change
OSL_IS_SUBPROJECT to PROJECT_IS_TOP_LEVEL (and change its sense) to match
CMake 21+ behavior; add a TIME_COMMANDS option to help debug performance of
the build. #1443
- drop 8682211d0bfe5c4be63a4a003d06037ff9721e66.diff, 1420.diff (upstream)
OBS-URL: https://build.opensuse.org/request/show/968219
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=31
- Update to version 1.11.14.2
+ Fix warnings that occur when compiling with clang and C++17 mode. #1379
+ CI/testing: Additional CI tests for clang+c++17 (#1379), gcc11 (#1381),
llvm 12 (#1381), speed up CI builds by not building the testing components
of OIIO (#1380).
- Update to version 1.11.14.1
+ Fix library setup for LLVM installations consisting of static libraries.
This fixes a build problem that can crop up on MacOS using
Homebrew-installed LLVM 12. #1375
- Update to version 1.11.14.0
+ oslc/OSLCompiler: Check for errors when when writing oso (for example,
disk volume full). #1360
+ Fix crash generating closure function calls with LLVM 11. #1361
+ Build: LLVM 12 compatibility. #1351
+ Build: Support for CMake 3.20 #1354
+ Build: Be robust to certain OpenEXR 2.x config fies. #1356
+ Build: Fixes to deal with newer OIIO builds that are C++14.
- Remove 0001-LLVM-12-compatibility-fixes.patch
fixed upstream
- Add build dependency on OpenImageIO (executables)
OBS-URL: https://build.opensuse.org/request/show/915143
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=25