Rename SamplerDescriptor::compareFunction to compare.

This is to match the WebGPU IDL.

BUG=dawn:22

Change-Id: I63e32fe980c1727562055221ea2769a670461e93
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8625
Reviewed-by: Yunchao He <yunchao.he@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2019-07-08 08:29:57 +00:00
committed by Commit Bot service account
parent 35716c204d
commit e409acf561
12 changed files with 15 additions and 15 deletions

View File

@@ -268,7 +268,7 @@ namespace utils {
desc.addressModeW = dawn::AddressMode::Repeat;
desc.lodMinClamp = kLodMin;
desc.lodMaxClamp = kLodMax;
desc.compareFunction = dawn::CompareFunction::Never;
desc.compare = dawn::CompareFunction::Never;
return desc;
}