Skip to content

Commit

Permalink
Set surfaceConfiguration alphaMode default value to auto
Browse files Browse the repository at this point in the history
As raised in [1], the default value for surfaceConfiguration alphaMode
should be "auto", not "opaque".

[1]: emscripten-core/emscripten#21939 (comment)

Bug: dawn:2320
Change-Id: I4201f6ab623ee62a2d206121d0fe2ae1eece67cc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190080
Reviewed-by: Corentin Wallez <[email protected]>
Commit-Queue: Fr <[email protected]>
  • Loading branch information
beaufortfrancois authored and Dawn LUCI CQ committed May 27, 2024
1 parent 65ab835 commit 78a1ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dawn/dawn.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
{"name": "usage", "type": "texture usage", "default": "render attachment"},
{"name": "view format count", "type": "size_t", "default": 0},
{"name": "view formats", "type": "texture format", "annotation": "const*", "length": "view format count"},
{"name": "alpha mode", "type": "composite alpha mode", "default": "opaque"},
{"name": "alpha mode", "type": "composite alpha mode", "default": "auto"},
{"name": "width", "type": "uint32_t"},
{"name": "height", "type": "uint32_t"},
{"name": "present mode", "type": "present mode", "default": "fifo"}
Expand Down

0 comments on commit 78a1ef6

Please sign in to comment.