mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-16 09:12:23 -04:00
vendor/wgpu: add BlendOperation.Undefined to match webgpu.h
This commit is contained in:
1 parent
8866bd3252
commit
5b29d485ee
2 files changed
+7
-6
No files matched your search
Vendored
+1
-1
@@ -30,7 +30,7 @@ const ENUMS = {
|
||||
PowerPreference: [undefined, "low-power", "high-performance", ],
|
||||
CompositeAlphaMode: ["auto", "opaque", "premultiplied", "unpremultiplied", "inherit", ],
|
||||
StencilOperation: [undefined, "keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap", ],
|
||||
BlendOperation: ["add", "subtract", "reverse-subtract", "min", "max", ],
|
||||
BlendOperation: [undefined, "add", "subtract", "reverse-subtract", "min", "max", ],
|
||||
BlendFactor: [undefined, "zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha" ],
|
||||
PresentMode: [undefined, "fifo", "fifo-relaxed", "immediate", "mailbox", ],
|
||||
TextureAspect: [undefined, "all", "stencil-only", "depth-only"],
|
||||
|
||||
Vendored
+6
-5
@@ -163,11 +163,12 @@ BlendFactor :: enum i32 {
|
||||
}
|
||||
|
||||
BlendOperation :: enum i32 {
|
||||
Add = 0x00000000,
|
||||
Subtract = 0x00000001,
|
||||
ReverseSubtract = 0x00000002,
|
||||
Min = 0x00000003,
|
||||
Max = 0x00000004,
|
||||
Undefined = 0x00000000,
|
||||
Add = 0x00000001,
|
||||
Subtract = 0x00000002,
|
||||
ReverseSubtract = 0x00000003,
|
||||
Min = 0x00000004,
|
||||
Max = 0x00000005,
|
||||
}
|
||||
|
||||
BufferBindingType :: enum i32 {
|
||||
|
||||
Reference in new issue
Block a user