vulkan: apply color space transforms to colors
This commit is contained in:
parent
b5044d7fe7
commit
c4d0fdd4bb
4 changed files with 73 additions and 13 deletions
|
|
@ -52,7 +52,6 @@ pub struct ColorDescription {
|
|||
}
|
||||
|
||||
impl LinearColorDescription {
|
||||
#[expect(dead_code)]
|
||||
pub fn color_transform(&self, target: &Self) -> ColorMatrix {
|
||||
let mut mat = target.local_from_xyz;
|
||||
if self.luminance != target.luminance {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue