1
0
Fork 0
forked from wry/wry

vulkan: allow EOTFs to be parametrized

This commit is contained in:
Julian Orth 2025-09-08 18:26:19 +02:00
parent 6d28bfd4e2
commit a2d726e508
4 changed files with 174 additions and 25 deletions

View file

@ -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 {