@@ -769,8 +769,8 @@ pub const RenderBundleEncoderDescriptor = extern struct {
769
769
color_formats : ? [* ]const TextureFormat ,
770
770
depth_stencil_format : TextureFormat ,
771
771
sample_count : u32 ,
772
- depth_read_only : bool ,
773
- stencil_read_only : bool ,
772
+ depth_read_only : bool align ( 4 ) ,
773
+ stencil_read_only : bool align ( 4 ) ,
774
774
};
775
775
776
776
pub const VertexAttribute = extern struct {
@@ -1017,8 +1017,8 @@ pub const RequestAdapterOptions = extern struct {
1017
1017
compatible_surface : ? Surface = null ,
1018
1018
power_preference : PowerPreference ,
1019
1019
backend_type : BackendType = .undef ,
1020
- force_fallback_adapter : bool = false ,
1021
- compatibility_mode : bool = false ,
1020
+ force_fallback_adapter : bool align ( 4 ) = false ,
1021
+ compatibility_mode : bool align ( 4 ) = false ,
1022
1022
};
1023
1023
1024
1024
pub const ComputePassTimestampWrite = extern struct {
@@ -1125,14 +1125,14 @@ pub const CommandBufferDescriptor = extern struct {
1125
1125
1126
1126
pub const CopyTextureForBrowserOptions = extern struct {
1127
1127
next_in_chain : ? * const ChainedStruct = null ,
1128
- flip_y : bool ,
1129
- needs_color_space_conversion : bool ,
1128
+ flip_y : bool align ( 4 ) ,
1129
+ needs_color_space_conversion : bool align ( 4 ) ,
1130
1130
src_alpha_mode : AlphaMode ,
1131
1131
src_transfer_function_parameters : ? [* ]const f32 ,
1132
1132
conversion_matrix : ? [* ]const f32 ,
1133
1133
dst_transfer_function_parameters : ? [* ]const f32 ,
1134
1134
dst_alpha_mode : AlphaMode ,
1135
- internal_usage : bool ,
1135
+ internal_usage : bool align ( 4 ) ,
1136
1136
};
1137
1137
1138
1138
pub const TextureViewDescriptor = extern struct {
0 commit comments