aboutsummaryrefslogtreecommitdiff
path: root/tests/cases/matrices_uniform_draw.amber
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cases/matrices_uniform_draw.amber')
-rw-r--r--tests/cases/matrices_uniform_draw.amber29
1 files changed, 22 insertions, 7 deletions
diff --git a/tests/cases/matrices_uniform_draw.amber b/tests/cases/matrices_uniform_draw.amber
index 05466e9..85b0a93 100644
--- a/tests/cases/matrices_uniform_draw.amber
+++ b/tests/cases/matrices_uniform_draw.amber
@@ -1,4 +1,19 @@
#!amber
+
+# Copyright 2020 The Amber Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# AmberScript generated by GraphicsFuzz
SHADER vertex gfz_vert PASSTHROUGH
@@ -895,13 +910,13 @@ CLEAR gfz_pipeline
RUN gfz_pipeline DRAW_RECT POS 0 0 SIZE 256 256
EXPECT framebuffer IDX 0 0 SIZE 85 85 EQ_RGBA 0 0 0 255
-EXPECT framebuffer IDX 85 0 SIZE 85 85 EQ_RGBA 96 96 96 255
-EXPECT framebuffer IDX 171 0 SIZE 85 85 EQ_RGBA 127 127 127 255
+EXPECT framebuffer IDX 85 0 SIZE 85 85 EQ_RGBA 96 96 96 255 TOLERANCE 1 1 1 0
+EXPECT framebuffer IDX 171 0 SIZE 85 85 EQ_RGBA 127 127 127 255 TOLERANCE 1 1 1 0
-EXPECT framebuffer IDX 0 85 SIZE 85 85 EQ_RGBA 96 96 96 255
-EXPECT framebuffer IDX 85 85 SIZE 85 85 EQ_RGBA 143 143 143 255
-EXPECT framebuffer IDX 171 85 SIZE 85 85 EQ_RGBA 191 191 191 255
+EXPECT framebuffer IDX 0 85 SIZE 85 85 EQ_RGBA 96 96 96 255 TOLERANCE 1 1 1 0
+EXPECT framebuffer IDX 85 85 SIZE 85 85 EQ_RGBA 143 143 143 255 TOLERANCE 1 1 1 0
+EXPECT framebuffer IDX 171 85 SIZE 85 85 EQ_RGBA 191 191 191 255 TOLERANCE 1 1 1 0
-EXPECT framebuffer IDX 0 171 SIZE 85 85 EQ_RGBA 127 127 127 255
-EXPECT framebuffer IDX 85 171 SIZE 85 85 EQ_RGBA 191 191 191 255
+EXPECT framebuffer IDX 0 171 SIZE 85 85 EQ_RGBA 127 127 127 255 TOLERANCE 1 1 1 0
+EXPECT framebuffer IDX 85 171 SIZE 85 85 EQ_RGBA 191 191 191 255 TOLERANCE 1 1 1 0
EXPECT framebuffer IDX 171 171 SIZE 85 85 EQ_RGBA 255 255 255 255