Fix typo in enum
This enum isn't being used in Dawn yet, so it is safe to change without deprecating it first. BUG=dawn:700 Change-Id: I0f3cc788f26a8001f82aba4f9b3920e84204e4e4 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45620 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
parent
5622b6bbd1
commit
8ac7f8ae9e
|
@ -341,8 +341,8 @@ std::string ResourceTypeToString(
|
|||
return "ComparisonSampler";
|
||||
case tint::inspector::ResourceBinding::ResourceType::kSampledTexture:
|
||||
return "SampledTexture";
|
||||
case tint::inspector::ResourceBinding::ResourceType::kMulitsampledTexture:
|
||||
return "MulitsampledTexture";
|
||||
case tint::inspector::ResourceBinding::ResourceType::kMultisampledTexture:
|
||||
return "MultisampledTexture";
|
||||
case tint::inspector::ResourceBinding::ResourceType::
|
||||
kReadOnlyStorageTexture:
|
||||
return "ReadOnlyStorageTexture";
|
||||
|
|
|
@ -596,7 +596,7 @@ std::vector<ResourceBinding> Inspector::GetSampledTextureResourceBindingsImpl(
|
|||
|
||||
ResourceBinding entry;
|
||||
entry.resource_type =
|
||||
multisampled_only ? ResourceBinding::ResourceType::kMulitsampledTexture
|
||||
multisampled_only ? ResourceBinding::ResourceType::kMultisampledTexture
|
||||
: ResourceBinding::ResourceType::kSampledTexture;
|
||||
entry.bind_group = binding_info.group->value();
|
||||
entry.binding = binding_info.binding->value();
|
||||
|
|
|
@ -100,7 +100,7 @@ struct ResourceBinding {
|
|||
kSampler,
|
||||
kComparisonSampler,
|
||||
kSampledTexture,
|
||||
kMulitsampledTexture,
|
||||
kMultisampledTexture,
|
||||
kReadOnlyStorageTexture,
|
||||
kWriteOnlyStorageTexture,
|
||||
kDepthTexture,
|
||||
|
|
|
@ -2484,7 +2484,7 @@ TEST_P(InspectorGetMultisampledTextureResourceBindingsTestWithParam,
|
|||
auto result = inspector.GetMultisampledTextureResourceBindings("ep");
|
||||
ASSERT_FALSE(inspector.has_error()) << inspector.error();
|
||||
|
||||
EXPECT_EQ(ResourceBinding::ResourceType::kMulitsampledTexture,
|
||||
EXPECT_EQ(ResourceBinding::ResourceType::kMultisampledTexture,
|
||||
result[0].resource_type);
|
||||
ASSERT_EQ(1u, result.size());
|
||||
EXPECT_EQ(0u, result[0].bind_group);
|
||||
|
@ -2554,7 +2554,7 @@ TEST_P(InspectorGetMultisampledArrayTextureResourceBindingsTestWithParam,
|
|||
ASSERT_FALSE(inspector.has_error()) << inspector.error();
|
||||
ASSERT_EQ(1u, result.size());
|
||||
|
||||
EXPECT_EQ(ResourceBinding::ResourceType::kMulitsampledTexture,
|
||||
EXPECT_EQ(ResourceBinding::ResourceType::kMultisampledTexture,
|
||||
result[0].resource_type);
|
||||
EXPECT_EQ(0u, result[0].bind_group);
|
||||
EXPECT_EQ(0u, result[0].binding);
|
||||
|
|
Loading…
Reference in New Issue