diff --git a/src/dawn_native/metal/BackendMTL.mm b/src/dawn_native/metal/BackendMTL.mm index 093cceb5af..a5e7c474fb 100644 --- a/src/dawn_native/metal/BackendMTL.mm +++ b/src/dawn_native/metal/BackendMTL.mm @@ -220,6 +220,8 @@ namespace dawn_native { namespace metal { mSupportedExtensions.EnableExtension(Extension::TimestampQuery); } #endif + + mSupportedExtensions.EnableExtension(Extension::ShaderFloat16); } id mDevice = nil; diff --git a/src/tests/end2end/ShaderFloat16Tests.cpp b/src/tests/end2end/ShaderFloat16Tests.cpp index 57d94beae2..fa0fd4784c 100644 --- a/src/tests/end2end/ShaderFloat16Tests.cpp +++ b/src/tests/end2end/ShaderFloat16Tests.cpp @@ -108,4 +108,4 @@ TEST_P(ShaderFloat16Tests, Basic16BitFloatFeaturesTest) { EXPECT_BUFFER_U16_RANGE_EQ(expected, bufferOut, 0, 2); } -DAWN_INSTANTIATE_TEST(ShaderFloat16Tests, VulkanBackend()); \ No newline at end of file +DAWN_INSTANTIATE_TEST(ShaderFloat16Tests, MetalBackend(), VulkanBackend());