gpu: add StorageTextureAccess enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0883421905
commit
051126bbf0
2 changed files with 5 additions and 6 deletions
|
|
@ -244,6 +244,11 @@ pub const StencilOperation = enum(u32) {
|
|||
decrement_wrap = 0x00000007,
|
||||
};
|
||||
|
||||
pub const StorageTextureAccess = enum(u32) {
|
||||
undef = 0x00000000,
|
||||
write_only = 0x00000001,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue