commit | 09cf736b548787e9c766ac65b6366f9de2a690ae | [log] [tgz] |
---|---|---|
author | Shannon Woods <shannonwoods@chromium.org> | Fri Aug 08 15:41:01 2014 -0400 |
committer | Shannon Woods <shannonwoods@chromium.org> | Mon Aug 11 21:40:18 2014 +0000 |
tree | 93587654be940b08c9ee0ecfd58dac6968b6d063 | |
parent | bc75f36b04c8bab99bcecf8cdca16ecee3ac58ee [diff] |
Fix application of vertex divisor for non-instanced draws in D3D9 BUG=398337 *Re-land* 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: I5ed09d41229c8996a78a3b55893c6a655a423644 Reviewed-on: https://chromium-review.googlesource.com/211930 Tested-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org>