From f112b763ebcfe54beab696f153b61545cfd5b3f9 Mon Sep 17 00:00:00 2001 From: Kenneth Russell Date: Tue, 23 Apr 2024 12:41:41 -0700 Subject: [PATCH] Test framebufferPixelLocalClearValuefv with near-overflow offset. Associated with crbug.com/332939155. --- .../extensions/webgl-shader-pixel-local-storage.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html b/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html index e548eea46..7834bbd31 100644 --- a/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html +++ b/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html @@ -226,6 +226,8 @@ wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); pls.framebufferPixelLocalClearValuefvWEBGL(2, new Float32Array(5), 2); wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); + pls.framebufferPixelLocalClearValuefvWEBGL(2, new Float32Array(5), 4294967295); + wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); pls.framebufferPixelLocalClearValuefvWEBGL(1, [0, 0, 0, 0, 0], 2); wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); pls.framebufferPixelLocalClearValueivWEBGL(0, new Int32Array(5), 2);