Remove sampler border color from Dawn to match WebGPU
Bug: chromium:877147
Change-Id: I9760b3c6cb67a3ffa08feeaff8e8b24b80ec4200
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6380
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/dawn.json b/dawn.json
index daa4872..ac048fb 100644
--- a/dawn.json
+++ b/dawn.json
@@ -19,8 +19,7 @@
"values": [
{"value": 0, "name": "repeat"},
{"value": 1, "name": "mirrored repeat"},
- {"value": 2, "name": "clamp to edge"},
- {"value": 3, "name": "clamp to border color"}
+ {"value": 2, "name": "clamp to edge"}
]
},
"bind group": {
@@ -128,14 +127,6 @@
"bool": {
"category": "native"
},
- "border color": {
- "category": "enum",
- "values": [
- {"value": 0, "name": "transparent black"},
- {"value": 1, "name": "opaque black"},
- {"value": 2, "name": "opaque white"}
- ]
- },
"buffer": {
"category": "object",
"methods": [
@@ -855,8 +846,7 @@
{"name": "mipmap filter", "type": "filter mode"},
{"name": "lod min clamp", "type": "float"},
{"name": "lod max clamp", "type": "float"},
- {"name": "compare function", "type": "compare function"},
- {"name": "border color", "type": "border color"}
+ {"name": "compare function", "type": "compare function"}
]
},
"shader module": {