From 271fe0999fb4567275c5907b98b28954a715a391 Mon Sep 17 00:00:00 2001 From: Kenneth Russell Date: Tue, 3 May 2022 16:11:39 -0700 Subject: [PATCH] Test case for as-yet-unreported Metal shader bug from Skia team. operator/= between a matrix and scalar (float) argument on macOS 10.15 seems to be polyfilled incorrectly by the Metal standard library. --- sdk/tests/conformance/glsl/00_test_list.txt | 1 + .../glsl/matrix-operator-division-equal.html | 108 ++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 sdk/tests/conformance/glsl/matrix-operator-division-equal.html diff --git a/sdk/tests/conformance/glsl/00_test_list.txt b/sdk/tests/conformance/glsl/00_test_list.txt index 8ab2039cc6..e5950dbc2a 100644 --- a/sdk/tests/conformance/glsl/00_test_list.txt +++ b/sdk/tests/conformance/glsl/00_test_list.txt @@ -4,6 +4,7 @@ functions/00_test_list.txt implicit/00_test_list.txt --min-version 1.0.2 literals/00_test_list.txt --min-version 1.0.2 matrices/00_test_list.txt +--min-version 1.0.4 matrix-operator-division-equal.html misc/00_test_list.txt --min-version 1.0.4 preprocessor/00_test_list.txt reserved/00_test_list.txt diff --git a/sdk/tests/conformance/glsl/matrix-operator-division-equal.html b/sdk/tests/conformance/glsl/matrix-operator-division-equal.html new file mode 100644 index 0000000000..7c2e58f824 --- /dev/null +++ b/sdk/tests/conformance/glsl/matrix-operator-division-equal.html @@ -0,0 +1,108 @@ + + + + + + +Matrix operator/= test + + + + + + + +
+
+ + + + +