gpu: update defaults/optionality for ExternalTextureDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0bc1831eb3
commit
77869840ae
1 changed files with 6 additions and 2 deletions
|
|
@ -34,9 +34,13 @@ pub const ExternalTextureDescriptor = extern struct {
|
||||||
label: ?[*:0]const u8 = null,
|
label: ?[*:0]const u8 = null,
|
||||||
plane0: TextureView,
|
plane0: TextureView,
|
||||||
plane1: ?TextureView,
|
plane1: ?TextureView,
|
||||||
do_yuv_to_rgb_conversion_only: bool,
|
do_yuv_to_rgb_conversion_only: bool = false,
|
||||||
yuv_to_rgb_conversion_matrix: ?[*]const f32 = null,
|
// TODO: dawn.json says length 12, does it mean array length?
|
||||||
|
yuv_to_rgb_conversion_matrix: ?[*]const f32,
|
||||||
|
// TODO: dawn.json says length 7, does it mean array length?
|
||||||
src_transform_function_parameters: [*]const f32,
|
src_transform_function_parameters: [*]const f32,
|
||||||
|
// TODO: dawn.json says length 7, does it mean array length?
|
||||||
dst_transform_function_parameters: [*]const f32,
|
dst_transform_function_parameters: [*]const f32,
|
||||||
|
// TODO: dawn.json says length 9, does it mean array length?
|
||||||
gamut_conversion_matrix: [*]const f32,
|
gamut_conversion_matrix: [*]const f32,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue