KalebDark / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Instanced draws in DX11 fail to draw all instances #864

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As reported on: 
https://groups.google.com/d/msg/webgl-dev-list/s5VWbUpwbCU/kAEcjhv8HXkJ

drawArraysInstancedANGLE is failing to draw all instances for certain inputs. A 
small repro case can be found at the forum link above. This reproduces only in 
Chrome with DX11 ANGLE.

Original issue reported on code.google.com by shannonw...@chromium.org on 7 Jan 2015 at 8:19

GoogleCodeExporter commented 9 years ago
I can confirm this is an ANGLE D3D11 rendering bug. I see this message in the 
Console:

D3D11 WARNING: ID3D11DeviceContext::DrawInstanced: Vertex Buffer at the input 
vertex slot 1 is not big enough for what the Draw*() call expects to traverse. 
This is OK, as reading off the end of the Buffer is defined to return 0. 
However the developer probably did not intend to make use of this behavior.  [ 
EXECUTION WARNING #356: DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL]

Original comment by jmad...@chromium.org on 7 Jan 2015 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by jmad...@chromium.org on 8 Jan 2015 at 3:56

GoogleCodeExporter commented 9 years ago
Fixed in https://chromium-review.googlesource.com/#/c/239843/, should go out 
with the next Chromium roll.

Original comment by jmad...@chromium.org on 9 Jan 2015 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by jmad...@chromium.org on 9 Jan 2015 at 9:46