vulkan: allow EOTFs to be parametrized
This commit is contained in:
parent
6d28bfd4e2
commit
a2d726e508
4 changed files with 174 additions and 25 deletions
|
|
@ -69,6 +69,28 @@ pub struct ColorManagementData {
|
|||
|
||||
unsafe impl Packed for ColorManagementData {}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C, align(16))]
|
||||
pub struct EotfArgs {
|
||||
pub arg1: f32,
|
||||
pub arg2: f32,
|
||||
pub arg3: f32,
|
||||
pub arg4: f32,
|
||||
}
|
||||
|
||||
unsafe impl Packed for EotfArgs {}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C, align(16))]
|
||||
pub struct InvEotfArgs {
|
||||
pub arg1: f32,
|
||||
pub arg2: f32,
|
||||
pub arg3: f32,
|
||||
pub arg4: f32,
|
||||
}
|
||||
|
||||
unsafe impl Packed for InvEotfArgs {}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C)]
|
||||
pub struct LegacyTexPushConstants {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue