Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/shader-precision-format-expected.txt

Issue 1601093008: Remove duplicated WebGL layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 WebGL shader precision format test.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5 Tests that WebGLShaderPrecisionFormat class and getShaderPrecisionFormat work.
6
7
8 Test that getShaderPrecisionFormat returns a WebGLShaderPrecisionFormat object.
9
10 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.LOW_FLOAT) instanceof WebG LShaderPrecisionFormat is true
11 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.MEDIUM_FLOAT) instanceof W ebGLShaderPrecisionFormat is true
12 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.HIGH_FLOAT) instanceof Web GLShaderPrecisionFormat is true
13 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.LOW_INT) instanceof WebGLS haderPrecisionFormat is true
14 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.MEDIUM_INT) instanceof Web GLShaderPrecisionFormat is true
15 PASS gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.HIGH_INT) instanceof WebGL ShaderPrecisionFormat is true
16 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.LOW_FLOAT) instanceof We bGLShaderPrecisionFormat is true
17 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.MEDIUM_FLOAT) instanceof WebGLShaderPrecisionFormat is true
18 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.HIGH_FLOAT) instanceof W ebGLShaderPrecisionFormat is true
19 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.LOW_INT) instanceof WebG LShaderPrecisionFormat is true
20 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.MEDIUM_INT) instanceof W ebGLShaderPrecisionFormat is true
21 PASS gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.HIGH_INT) instanceof Web GLShaderPrecisionFormat is true
22
23 Test that getShaderPrecisionFormat throws an error with invalid parameters.
24
25 PASS gl.getShaderPrecisionFormat(gl.HIGH_INT, gl.VERTEX_SHADER) generated expect ed GL error: INVALID_ENUM.
26
27 Test that WebGLShaderPrecisionFormat values are sensible.
28
29 PASS shaderPrecisionFormat.rangeMin >= 1 is true
30 PASS shaderPrecisionFormat.rangeMax >= 1 is true
31 PASS shaderPrecisionFormat.precision >= 8 is true
32 PASS shaderPrecisionFormat.rangeMin >= 14 is true
33 PASS shaderPrecisionFormat.rangeMax >= 14 is true
34 PASS shaderPrecisionFormat.precision >= 10 is true
35 PASS shaderPrecisionFormat.rangeMin >= 62 is true
36 PASS shaderPrecisionFormat.rangeMax >= 62 is true
37 PASS shaderPrecisionFormat.precision >= 16 is true
38 PASS shaderPrecisionFormat.rangeMin >= 8 is true
39 PASS shaderPrecisionFormat.rangeMax >= 8 is true
40 PASS shaderPrecisionFormat.precision == 0 is true
41 PASS shaderPrecisionFormat.rangeMin >= 10 is true
42 PASS shaderPrecisionFormat.rangeMax >= 10 is true
43 PASS shaderPrecisionFormat.precision == 0 is true
44 PASS shaderPrecisionFormat.rangeMin >= 16 is true
45 PASS shaderPrecisionFormat.rangeMax >= 16 is true
46 PASS shaderPrecisionFormat.precision == 0 is true
47
48 Test that getShaderPrecisionFormat returns the same thing every call.
49
50 PASS shaderPrecisionFormat.rangeMin == shaderPrecisionFormat2.rangeMin is true
51 PASS shaderPrecisionFormat.rangeMax == shaderPrecisionFormat2.rangeMax is true
52 PASS shaderPrecisionFormat.precision == shaderPrecisionFormat2.precision is true
53 PASS successfullyParsed is true
54
55 TEST COMPLETE
56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698