Rename variables in DepthStencilStateDescriptor, in order to match web idl
Bug:dawn:31
Change-Id: Ie3326e13f62446bf020ae60f47c8dfa6687d7b9a
Reviewed-on: https://dawn-review.googlesource.com/c/4240
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
diff --git a/dawn.json b/dawn.json
index 271fd99..7a2ac55 100644
--- a/dawn.json
+++ b/dawn.json
@@ -513,8 +513,8 @@
"members": [
{"name": "depth write enabled", "type": "bool"},
{"name": "depth compare", "type": "compare function"},
- {"name": "front", "type": "stencil state face descriptor"},
- {"name": "back", "type": "stencil state face descriptor"},
+ {"name": "stencil front", "type": "stencil state face descriptor"},
+ {"name": "stencil back", "type": "stencil state face descriptor"},
{"name": "stencil read mask", "type": "uint32_t"},
{"name": "stencil write mask", "type": "uint32_t"}
]
@@ -937,7 +937,7 @@
"extensible": false,
"members": [
{"name": "compare", "type": "compare function"},
- {"name": "stencil fail op", "type": "stencil operation"},
+ {"name": "fail op", "type": "stencil operation"},
{"name": "depth fail op", "type": "stencil operation"},
{"name": "pass op", "type": "stencil operation"}
]