{gpu,gpu-dawn}: add X11 linkage back; update to latest WebGPU API

This commit is contained in:
Ali Chraghi 2023-01-14 19:20:41 +03:30 committed by Stephen Gutekanst
parent 8a15fcd694
commit 9f6020e545
5 changed files with 20 additions and 5 deletions

View file

@ -60,7 +60,7 @@ pub const TogglesDeviceDescriptor = extern struct {
}
};
const AdapterPropertiesPowerPreference = extern struct {
pub const AdapterPropertiesPowerPreference = extern struct {
chain: ChainedStructOut = .{
.next = null,
.s_type = .dawn_adapter_properties_power_preference,
@ -68,7 +68,7 @@ const AdapterPropertiesPowerPreference = extern struct {
power_preference: PowerPreference = .undefined,
};
const BufferDescriptorErrorInfoFromWireClient = extern struct {
pub const BufferDescriptorErrorInfoFromWireClient = extern struct {
chain: ChainedStruct = .{
.next = null,
.s_type = .dawn_buffer_descriptor_error_info_from_wire_client,