gpu: add CompilationInfo
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cca71c4a2b
commit
04fd1c14d3
2 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
pub const CompilationInfo = extern struct {
|
|
||||||
next_in_chain: *const ChainedStruct,
|
|
||||||
message_count: u32,
|
|
||||||
messages: [*]const CompilationMessage,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub const WGPUComputePassDescriptor = extern struct {
|
pub const WGPUComputePassDescriptor = extern struct {
|
||||||
next_in_chain: *const ChainedStruct,
|
next_in_chain: *const ChainedStruct,
|
||||||
label: ?[*:0]const u8 = null,
|
label: ?[*:0]const u8 = null,
|
||||||
|
|
|
||||||
|
|
@ -514,6 +514,12 @@ pub const BlendState = extern struct {
|
||||||
alpha: BlendComponent,
|
alpha: BlendComponent,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const CompilationInfo = extern struct {
|
||||||
|
next_in_chain: *const ChainedStruct,
|
||||||
|
message_count: u32,
|
||||||
|
messages: [*]const CompilationMessage,
|
||||||
|
};
|
||||||
|
|
||||||
test "BackendType name" {
|
test "BackendType name" {
|
||||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue