gpu: implement Buffer.mapAsync

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-15 11:53:31 -07:00 committed by Stephen Gutekanst
parent 3ffc1ca5d8
commit 77b2210587
4 changed files with 67 additions and 13 deletions

View file

@ -265,12 +265,6 @@ pub const ColorWriteMask = enum(u32) {
all = 0x0000000F,
};
pub const MapMode = enum(u32) {
none = 0x00000000,
read = 0x00000001,
write = 0x00000002,
};
pub const ShaderStage = enum(u32) {
none = 0x00000000,
vertex = 0x00000001,
@ -315,6 +309,5 @@ test "syntax" {
_ = VertexStepMode;
_ = BufferUsage;
_ = ColorWriteMask;
_ = MapMode;
_ = ShaderStage;
}