gpu: update defaults/optionality for ColorTargetState/VertexState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 09:22:39 -07:00 committed by Stephen Gutekanst
parent e1a0c6dee6
commit 937d0120a3
3 changed files with 9 additions and 7 deletions

View file

@ -35,7 +35,7 @@ pub const ExternalTextureDescriptor = extern struct {
plane0: TextureView,
plane1: ?TextureView,
do_yuv_to_rgb_conversion_only: bool,
yuv_to_rgb_conversion_matrix: ?[*]const f32 = null, // nullable
yuv_to_rgb_conversion_matrix: ?[*]const f32 = null,
src_transform_function_parameters: [*]const f32,
dst_transform_function_parameters: [*]const f32,
gamut_conversion_matrix: [*]const f32,