vulkan: apply color space transforms to textures
This commit is contained in:
parent
c4d0fdd4bb
commit
8e65de91f9
12 changed files with 233 additions and 66 deletions
|
|
@ -61,6 +61,14 @@ pub struct TexPushConstants {
|
|||
|
||||
unsafe impl Packed for TexPushConstants {}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C, align(16))]
|
||||
pub struct TexColorManagementData {
|
||||
pub matrix: [[f32; 4]; 4],
|
||||
}
|
||||
|
||||
unsafe impl Packed for TexColorManagementData {}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C)]
|
||||
pub struct LegacyTexPushConstants {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue