mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Rename "extension" to "feature"
This CL renames "extension" to "feature" to follow WebGPU. It still supports both. A future Chromium CL will pick this change, then all "extension" occurrences will be removed. Change-Id: I070e32d7ae042f9b846df01f200b39f6741a0a14 Bug: dawn:1149 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65664 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
bf8c40b4f1
commit
3f689a4c5a
@@ -782,7 +782,7 @@ TEST_F(RenderPipelineValidationTest, StripIndexFormatRequired) {
|
||||
}
|
||||
|
||||
// Test that specifying a clampDepth value results in an error if the feature is not enabled.
|
||||
TEST_F(RenderPipelineValidationTest, ClampDepthWithoutExtension) {
|
||||
TEST_F(RenderPipelineValidationTest, ClampDepthWithoutFeature) {
|
||||
{
|
||||
utils::ComboRenderPipelineDescriptor descriptor;
|
||||
descriptor.vertex.module = vsModule;
|
||||
@@ -1125,12 +1125,12 @@ class DepthClampingValidationTest : public RenderPipelineValidationTest {
|
||||
protected:
|
||||
WGPUDevice CreateTestDevice() override {
|
||||
dawn_native::DeviceDescriptor descriptor;
|
||||
descriptor.requiredExtensions = {"depth_clamping"};
|
||||
descriptor.requiredFeatures = {"depth_clamping"};
|
||||
return adapter.CreateDevice(&descriptor);
|
||||
}
|
||||
};
|
||||
|
||||
// Tests that specifying a clampDepth value succeeds if the extension is enabled.
|
||||
// Tests that specifying a clampDepth value succeeds if the feature is enabled.
|
||||
TEST_F(DepthClampingValidationTest, Success) {
|
||||
{
|
||||
utils::ComboRenderPipelineDescriptor descriptor;
|
||||
|
||||
Reference in New Issue
Block a user