fix OpenGL backend tests on macOS

multi-sampled textures are only supported at feature level 2, but
on macOS OpenGL is only feature level 1.
This commit is contained in:
Mathias Agopian
2025-09-17 18:11:51 -07:00
committed by Mathias Agopian
parent 0dd1d3211b
commit 6dbd702bb5
+4
View File
@@ -269,6 +269,10 @@ TEST_F(BlitTest, ColorResolve) {
SKIP_IF(Backend::WEBGPU, "test cases fail in WebGPU, see b/424157731");
auto& api = getDriverApi();
if (api.getFeatureLevel() < FeatureLevel::FEATURE_LEVEL_2) {
GTEST_SKIP() << "Skipping test because multi-sampled textures are not supported at Feature level < 2";
}
constexpr int kSrcTexWidth = 256;
constexpr int kSrcTexHeight = 256;
constexpr int kDstTexWidth = 256;