gpu: add Origin3D
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c7798edafb
commit
991887fc67
2 changed files with 6 additions and 6 deletions
|
|
@ -91,12 +91,6 @@ typedef struct WGPUMultisampleState {
|
|||
alpha_to_coverage_enabled: bool,
|
||||
} WGPUMultisampleState;
|
||||
|
||||
typedef struct WGPUOrigin3D {
|
||||
x: u32,
|
||||
y: u32,
|
||||
z: u32,
|
||||
} WGPUOrigin3D;
|
||||
|
||||
typedef struct WGPUPipelineLayoutDescriptor {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
|
|
|
|||
|
|
@ -424,6 +424,12 @@ pub const Limits = extern struct {
|
|||
max_compute_workgroups_per_dimension: u32,
|
||||
};
|
||||
|
||||
pub const Origin3D = extern struct {
|
||||
x: u32 = 0,
|
||||
y: u32 = 0,
|
||||
z: u32 = 0,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue