New issue
Advanced search Search tips

Issue 625960 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

/deqp/functional/gles3/instancedrendering fails on mesa 11.20

Project Member Reported by xinghua....@intel.com, Jul 6 2016

Issue description

<b>Version: <Kenneth, what is the frequency?></b>
OS: Ubuntu 16.04

What steps will reproduce the problem?
(1) Open chrome, and choose WebGL2.0.0, run /deqp/functional/gles3/instancedrendering.html

What is the expected output?
PASS

What do you see instead?
FAIL

Please use labels and text to provide additional information.

 
Assume the context is gl, and two shader programs are A and B. the flow is as blow,
gl.useProgram(A);
locA = gl.getAttribLocation(A, 'A_attribute')
...
gl.vertexAttribDivisor(locA, 3);
gl.drawArraysIntanced();
...
gl.useProgram(B);
locB = gl.getAttribLocation(B, 'B_attribute');
...
gl.drawArrays();
....

If the driver distributes the same value to locA and locB, the disivor value of B_attribute is not zero, it is 3, the vaule as A_attribute. So will report error that
"attempt to draw with all attributes having non-zero divisors"
But B_attribute is zero divisor in fact.
https://codereview.chromium.org/2124953002/
Status: Assigned (was: Untriaged)

Sign in to add a comment