HQLGGDXUAEVR4FSRVJSRK6SD5RWXDDF7KYH7UYVHG2RT5ZRFLO7AC --- opensubdiv-3.5.0-checkout/opensubdiv/osd/hlslPatchCommon.hlsl.org 2023-01-13 10:02:01.555369539 +0100+++ opensubdiv-3.5.0-checkout/opensubdiv/osd/hlslPatchCommon.hlsl 2023-01-13 10:02:13.371253791 +0100@@ -62,7 +62,6 @@float4x4 OsdModelViewProjectionMatrix();float OsdTessLevel();int OsdGregoryQuadOffsetBase();-int OsdPrimitiveIdBase();int OsdBaseVertex();#ifndef OSD_DISPLACEMENT_CALLBACK@@ -94,7 +93,7 @@int OsdGetPatchIndex(int primitiveId){- return (primitiveId + OsdPrimitiveIdBase());+ return primitiveId;}int3 OsdGetPatchParam(int patchIndex)
--- opensubdiv-3.5.0-checkout/opensubdiv/osd/glslPatchCommon.glsl.org 2023-01-13 10:05:04.973569914 +0100+++ opensubdiv-3.5.0-checkout/opensubdiv/osd/glslPatchCommon.glsl 2023-01-13 10:05:59.513033628 +0100@@ -111,7 +111,6 @@mat4 OsdModelViewProjectionMatrix();float OsdTessLevel();int OsdGregoryQuadOffsetBase();-int OsdPrimitiveIdBase();int OsdBaseVertex();#ifndef OSD_DISPLACEMENT_CALLBACK@@ -139,7 +138,7 @@int OsdGetPatchIndex(int primitiveId){- return (primitiveId + OsdPrimitiveIdBase());+ return primitiveId;}ivec3 OsdGetPatchParam(int patchIndex)
(define-public radeonprorender(package(name "radeonprorender")(version "2.3.5")(source (origin(method git-fetch)(uri (git-reference(url "https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD")(commit "11494e6968065d42cc43feccd8f6c16a77d3b1a8")))(file-name (git-file-name name version))(sha256(base32"0v4dkgd2axgj58577vczznsi3vxqbrbbaiqpn2m0psbv2limg4xc"))))(build-system cmake-build-system);;(arguments;; `(#:phases (modify-phases %standard-phases;; (add-before 'configure 'remove-cmake-overrides;; (lambda _;; (delete-file "cmake/FindOpenCL.cmake");; #t)))))(inputs (listlibomptbb-2020mesa-openclopencl-headersclew;;vulkan-headers;;vulkan-loader;;shaderc;;glslangusdmaterialxopenvdb))(home-page "https://www.amd.com/en/technologies/radeon-prorender")(synopsis "USD compatible physically-based GPU path tracer")(description "Fast GPU or CPU accelerated viewport rendering on allOpenCL 1.2 hardware for the open source USD and Hydra system.")(license licenses:asl2.0)))
;;(define-public clew;; (package;; (name "clew");; (version "0.10.0");; (source (origin;; (method git-fetch);; (uri (git-reference;; (url "https://github.com/martijnberger/clew");; (commit "50751dd62c05a03b2b9c001b9eb6e29e392ee9db")));; (file-name (git-file-name name version));; (sha256;; (base32;; "09aimljgkw5cyxbqq9ybbkybgn957hiic5xw1db7b8znib5pbwi2"))));; (build-system cmake-build-system);; (arguments;; `(#:tests? #f));; (home-page "https://github.com/martijnberger/clew");; (synopsis "The OpenCL Extension Wrangler Library");; (description "This basically works like glew, but for OpenCL.");; (license licenses:boost1.0)))
"05zmhm7izywkvpld1ridqx9pf7frxjg4hv2wqxa4zk1c20gzd055"))(patches (search-patches "vfx/patches/opensubdiv-glsl-no-osdprimitiveidbase.patch""vfx/patches/opensubdiv-hlsl-no-osdprimitiveidbase.patch"))))
"05zmhm7izywkvpld1ridqx9pf7frxjg4hv2wqxa4zk1c20gzd055"))))
`(#:phases (modify-phases %standard-phases(add-before 'configure 'set-glew-location(lambda* (#:key inputs #:allow-other-keys)(setenv "GLEW_LOCATION" (assoc-ref inputs "glew"))#t))
`(#:configure-flags (list (string-append "-DOPENCL_INCLUDE_DIRS="(assoc-ref %build-inputs "opencl-headers"))(string-append "-DOPENCL_LIBRARIES="(assoc-ref %build-inputs "mesa-opencl"))(string-append "-DCLEW_LOCATION="(assoc-ref %build-inputs "clew")))#:phases (modify-phases %standard-phases
(define-module (vfx packages opencl)#:use-module (guix)#:use-module (guix git-download)#:use-module (guix build-system cmake)#:use-module ((guix licenses) #:prefix licenses:))(define-public clew(package(name "clew")(version "0.10.0")(source (origin(method git-fetch)(uri (git-reference(url "https://github.com/martijnberger/clew")(commit "50751dd62c05a03b2b9c001b9eb6e29e392ee9db")))(file-name (git-file-name name version))(sha256(base32"09aimljgkw5cyxbqq9ybbkybgn957hiic5xw1db7b8znib5pbwi2"))))(build-system cmake-build-system)(arguments`(#:tests? #f))(home-page "https://github.com/martijnberger/clew")(synopsis "The OpenCL Extension Wrangler Library")(description "This basically works like glew, but for OpenCL.")(license licenses:boost1.0)))
;;#:use-module (gnu packages cmake);;#:use-module (gnu packages commencement);;#:use-module (gnu packages pkg-config);;#:use-module (gnu packages boost);;#:use-module (gnu packages tbb);;#:use-module (gnu packages python);;#:use-module (gnu packages python-xyz);;#:use-module (gnu packages xorg)#:use-module (gnu packages vulkan)#:use-module (gnu packages gl);;#:use-module (gnu packages glib);;#:use-module (gnu packages qt);;#:use-module (gnu packages image);;#:use-module (gnu packages image-processing);;#:use-module (gnu packages compression);;#:use-module (gnu packages graphics)