commit | 9f6907bfdd4cf95d20408831b1776a6efd221ab3 | [log] [tgz] |
---|---|---|
author | Shannon Woods <shannonwoods@chromium.org> | Fri Aug 08 15:41:01 2014 -0400 |
committer | Shannon Woods <shannonwoods@chromium.org> | Fri Aug 08 21:58:34 2014 +0000 |
tree | 63dc27bcd5dd9f0f29f902b74df1364d25eabd6a | |
parent | baa34bea381cb769693bbc7b28aa1cb60fc9e163 [diff] |
Fix application of vertex divisor for non-instanced draws in D3D9 BUG=398337 ANGLE_instanced_arrays defines the behavior of the non-instanced draw calls (glDrawArrays, glDrawElements) such that they behave as single-instance draws, so the vertex divisor should still apply. We were handling this correctly in D3D11, but not D3D9. This fixes a new WebGL conformance test: https://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/angle-instanced-arrays.html Change-Id: Ib50e189d866d6dc97612e46460db4ca1723b3662 Reviewed-on: https://chromium-review.googlesource.com/211445 Tested-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org>