/home/igalia/clopez/webkit/webkit/layout-test-results/fast/canvas/webgl/webgl-draw-buffers-actual.txt

1 CONSOLE MESSAGE: WebGL: INVALID_ENUM: getParameter: invalid parameter name, WEBGL_draw_buffers not enabled
2 CONSOLE MESSAGE: WebGL: INVALID_ENUM: getParameter: invalid parameter name, WEBGL_draw_buffers not enabled
3 CONSOLE MESSAGE: line 43: *** Error compiling FRAGMENT_SHADER '[object WebGLShader]':ERROR: 0:2: 'GL_EXT_draw_buffers' : extension is not supported
4 
5 CONSOLE MESSAGE: line 43: Error in compiling shader
6 CONSOLE MESSAGE: WebGL: INVALID_ENUM: framebufferTexture2D: invalid attachment
7 CONSOLE MESSAGE: WebGL: INVALID_VALUE: drawBuffersWEBGL: more than one buffer
8 CONSOLE MESSAGE: WebGL: INVALID_VALUE: drawBuffersWEBGL: more than one buffer
9 CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawBuffersWEBGL: BACK or NONE
10 CONSOLE MESSAGE: WebGL: INVALID_ENUM: framebufferTexture2D: invalid attachment
11 CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawBuffersWEBGL: COLOR_ATTACHMENTi_EXT or NONE
12 CONSOLE MESSAGE: WebGL: checkFramebufferStatus: attachments do not have the same dimensions
13 CONSOLE MESSAGE: WebGL: checkFramebufferStatus: attachments do not have the same dimensions
 1CONSOLE MESSAGE: line 205: WebGL: INVALID_ENUM: getParameter: invalid parameter name, WEBGL_draw_buffers not enabled
 2CONSOLE MESSAGE: line 205: WebGL: INVALID_ENUM: getParameter: invalid parameter name, WEBGL_draw_buffers not enabled
 3CONSOLE MESSAGE: line 1313: WebGL: ERROR: 0:2: 'GL_EXT_draw_buffers' : extension is not supported
 4CONSOLE MESSAGE: line 24: *** Error compiling shader '[object WebGLShader]':ERROR: 0:2: 'GL_EXT_draw_buffers' : extension is not supported
 5
 6CONSOLE MESSAGE: line 24: Error in compiling shader
 7CONSOLE MESSAGE: line 294: WebGL: INVALID_ENUM: framebufferTexture2D: invalid attachment
 8CONSOLE MESSAGE: line 1: WebGL: INVALID_VALUE: drawBuffersWEBGL: more than one buffer
 9CONSOLE MESSAGE: line 1: WebGL: INVALID_VALUE: drawBuffersWEBGL: more than one buffer
 10CONSOLE MESSAGE: line 1: WebGL: INVALID_OPERATION: drawBuffersWEBGL: BACK or NONE
 11CONSOLE MESSAGE: line 328: WebGL: INVALID_ENUM: framebufferTexture2D: invalid attachment
 12CONSOLE MESSAGE: line 343: WebGL: INVALID_OPERATION: drawBuffersWEBGL: COLOR_ATTACHMENTi_EXT or NONE
 13CONSOLE MESSAGE: WebGL: checkFramebufferStatus:attachments do not have the same dimensions
 14CONSOLE MESSAGE: WebGL: checkFramebufferStatus:attachments do not have the same dimensions
1415This test verifies the functionality of the WEBGL_draw_buffers extension, if it is available.
1516
1617On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

2526
2627test shaders disabled
2728vertex shader
28 fragement shaderPASS GL_EXT_draw_buffers should not be defined in GLSL
 29fragement shader
 30PASS GL_EXT_draw_buffers should not be defined in GLSL
2931vertex shader
30 fragement shaderPASS #extension GL_EXT_draw_buffers should not be allowed in GLSL
 32fragement shader
 33PASS #extension GL_EXT_draw_buffers should not be allowed in GLSL
3134PASS getError was expected value: NO_ERROR : there should be no errors
3235
3336test attachment disabled

8285PASS ext.DRAW_BUFFER15_WEBGL is 0x8834
8386Testing drawBuffersWEBGL with default drawing buffer
8487PASS gl.getParameter(ext.DRAW_BUFFER0_WEBGL) is gl.BACK
85 PASS getError was expected value: INVALID_VALUE : after evaluating: ext.drawBuffersWEBGL([])
86 PASS getError was expected value: INVALID_VALUE : after evaluating: ext.drawBuffersWEBGL([gl.NONE, gl.NONE])
87 PASS getError was expected value: INVALID_OPERATION : after evaluating: ext.drawBuffersWEBGL([ext.COLOR_ATTACHMENT0_WEBGL])
 88PASS ext.drawBuffersWEBGL([]) was expected value: INVALID_VALUE.
 89PASS ext.drawBuffersWEBGL([gl.NONE, gl.NONE]) was expected value: INVALID_VALUE.
 90PASS ext.drawBuffersWEBGL([ext.COLOR_ATTACHMENT0_WEBGL]) was expected value: INVALID_OPERATION.
8891PASS gl.getParameter(ext.DRAW_BUFFER0_WEBGL) is gl.BACK
89 PASS getError was expected value: NO_ERROR : after evaluating: ext.drawBuffersWEBGL([gl.NONE])
 92PASS ext.drawBuffersWEBGL([gl.NONE]) was expected value: NO_ERROR.
9093PASS gl.getParameter(ext.DRAW_BUFFER0_WEBGL) is gl.NONE
91 PASS getError was expected value: NO_ERROR : after evaluating: ext.drawBuffersWEBGL([gl.BACK])
 94PASS ext.drawBuffersWEBGL([gl.BACK]) was expected value: NO_ERROR.
9295PASS gl.getParameter(ext.DRAW_BUFFER0_WEBGL) is gl.BACK
9396PASS getError was expected value: NO_ERROR : there should be no errors
9497
9598test shaders enabled
9699vertex shader
97 fragement shaderPASS GL_EXT_draw_buffers should be defined as 1 in GLSL
98 fragement shaderPASS should be green
 100fragement shader
 101PASS GL_EXT_draw_buffers should be defined as 1 in GLSL
 102fragement shader
 103PASS should be green
99104PASS getError was expected value: NO_ERROR : there should be no errors
100105
101106test attachment enabled

109114PASS getError was expected value: NO_ERROR : there should be no errors
110115
111116--------- draw tests -----------
112 fragement shaderPASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
 117fragement shader
 118PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
113119PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
114120test that each texture got the correct color.
115121PASS attachment 0 should be 255,0,0,0

196202attachment: 1 = 0x8ce1, TEXTURE
197203attachment: 2 = 0x8ce2, TEXTURE
198204attachment: 3 = 0x8ce3, TEXTURE
199 attachment: 4 = 0x8ce4, NO_ERROR
200 attachment: 5 = 0x8ce5, NO_ERROR
201 attachment: 6 = 0x8ce6, NO_ERROR
202 attachment: 7 = 0x8ce7, NO_ERROR
 205attachment: 4 = 0x8ce4, POINTS
 206attachment: 5 = 0x8ce5, POINTS
 207attachment: 6 = 0x8ce6, POINTS
 208attachment: 7 = 0x8ce7, POINTS
203209PASS attachment 0 should be 0,255,0,255
204210PASS attachment 1 should be 0,255,0,255
205211PASS attachment 2 should be 0,255,0,255

220226PASS attachment 7 should be 0,0,0,0
221227
222228test clearing framebuffer that only has second half of attachments
223 attachment: 0 = COLOR_ATTACHMENT0, NO_ERROR
224 attachment: 1 = 0x8ce1, NO_ERROR
225 attachment: 2 = 0x8ce2, NO_ERROR
226 attachment: 3 = 0x8ce3, NO_ERROR
 229attachment: 0 = COLOR_ATTACHMENT0, POINTS
 230attachment: 1 = 0x8ce1, POINTS
 231attachment: 2 = 0x8ce2, POINTS
 232attachment: 3 = 0x8ce3, POINTS
227233attachment: 4 = 0x8ce4, TEXTURE
228234attachment: 5 = 0x8ce5, TEXTURE
229235attachment: 6 = 0x8ce6, TEXTURE
230236attachment: 7 = 0x8ce7, TEXTURE
231 framebuffer not complete
 237PASS attachment 0 should be 0,0,0,0
 238PASS attachment 1 should be 0,0,0,0
 239PASS attachment 2 should be 0,0,0,0
 240PASS attachment 3 should be 0,0,0,0
 241PASS attachment 4 should be 0,255,0,255
 242PASS attachment 5 should be 0,255,0,255
 243PASS attachment 6 should be 0,255,0,255
 244PASS attachment 7 should be 0,255,0,255
 245
 246test drawing to framebuffer that only has second half of attachments
 247PASS attachment 0 should be 0,0,0,0
 248PASS attachment 1 should be 0,0,0,0
 249PASS attachment 2 should be 0,0,0,0
 250PASS attachment 3 should be 0,0,0,0
 251PASS attachment 4 should be 255,0,255,0
 252PASS attachment 5 should be 0,255,255,0
 253PASS attachment 6 should be 255,255,255,0
 254PASS attachment 7 should be 0,0,0,255
232255
233256test clearing framebuffer that only has first and last attachments
234257attachment: 0 = COLOR_ATTACHMENT0, TEXTURE
235 attachment: 1 = 0x8ce1, NO_ERROR
236 attachment: 2 = 0x8ce2, NO_ERROR
237 attachment: 3 = 0x8ce3, NO_ERROR
238 attachment: 4 = 0x8ce4, NO_ERROR
239 attachment: 5 = 0x8ce5, NO_ERROR
240 attachment: 6 = 0x8ce6, NO_ERROR
 258attachment: 1 = 0x8ce1, POINTS
 259attachment: 2 = 0x8ce2, POINTS
 260attachment: 3 = 0x8ce3, POINTS
 261attachment: 4 = 0x8ce4, POINTS
 262attachment: 5 = 0x8ce5, POINTS
 263attachment: 6 = 0x8ce6, POINTS
241264attachment: 7 = 0x8ce7, TEXTURE
242265PASS attachment 0 should be 0,255,0,255
243266PASS attachment 1 should be 0,0,0,0

259282PASS attachment 7 should be 0,0,0,255
260283
261284test clearing framebuffer that has all but the first and last attachments
262 attachment: 0 = COLOR_ATTACHMENT0, NO_ERROR
 285attachment: 0 = COLOR_ATTACHMENT0, POINTS
263286attachment: 1 = 0x8ce1, TEXTURE
264287attachment: 2 = 0x8ce2, TEXTURE
265288attachment: 3 = 0x8ce3, TEXTURE
266289attachment: 4 = 0x8ce4, TEXTURE
267290attachment: 5 = 0x8ce5, TEXTURE
268291attachment: 6 = 0x8ce6, TEXTURE
269 attachment: 7 = 0x8ce7, NO_ERROR
270 framebuffer not complete
 292attachment: 7 = 0x8ce7, POINTS
 293PASS attachment 0 should be 0,0,0,0
 294PASS attachment 1 should be 0,255,0,255
 295PASS attachment 2 should be 0,255,0,255
 296PASS attachment 3 should be 0,255,0,255
 297PASS attachment 4 should be 0,255,0,255
 298PASS attachment 5 should be 0,255,0,255
 299PASS attachment 6 should be 0,255,0,255
 300PASS attachment 7 should be 0,0,0,0
 301
 302test drawing to framebuffer that has all but the first and last attachments
 303PASS attachment 0 should be 0,0,0,0
 304PASS attachment 1 should be 0,255,0,0
 305PASS attachment 2 should be 255,255,0,0
 306PASS attachment 3 should be 0,0,255,0
 307PASS attachment 4 should be 255,0,255,0
 308PASS attachment 5 should be 0,255,255,0
 309PASS attachment 6 should be 255,255,255,0
 310PASS attachment 7 should be 0,0,0,0
271311
272312test switching between fbos keeps drawbuffer state
273313PASS attachment 0 should be 255,0,0,255