M13.23: GPU colour management (LUTs, OCIO, Color Profile Converter, Lumetri LUT/look)
Apply Color LUT, OCIO CDL / Color Space / Display / File / Look Transform and Color Profile Converter compile to colour programs (effects::color_program, built next to the CPU effects) that fx_lut.wgsl interprets per pixel; LUTs (1D, 3D, cineSpace shapers, inverses) are read from the storage buffer with the CPU's nearest / trilinear / tetrahedral interpolation. Lumetri's Input LUT and Look no longer force the CPU. Custom .ocio configs stay on the CPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6b91afc087
commit
e3e35a7ec2
@@ -326,7 +326,7 @@ impl Lut {
|
||||
type LutCache = Mutex<HashMap<String, Option<Arc<Lut>>>>;
|
||||
|
||||
/// Load (and cache) a LUT from inline `.cube` text or a file path.
|
||||
pub(crate) fn load_lut(src: &str) -> Option<Arc<Lut>> {
|
||||
pub fn load_lut(src: &str) -> Option<Arc<Lut>> {
|
||||
if src.trim().is_empty() {
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user