OSDN Git Service

[deqp] Fix wrong firstIndex for non-instanced draws with nonzero divisor
authorLingfeng Yang <lfy@google.com>
Wed, 15 Feb 2017 16:44:21 +0000 (08:44 -0800)
committerLingfeng Yang <lfy@google.com>
Wed, 15 Feb 2017 16:59:48 +0000 (08:59 -0800)
commit4e5446b62e27b120b047567180721dd6befec141
treed24a035a8b850442dab9407bc467825587b601e4
parentc92685e418aa6ef2086abb2a848292e1e35b8761
[deqp] Fix wrong firstIndex for non-instanced draws with nonzero divisor

bug: 34245909

If the vertex attribute divisor is nonzero,
that actually affects first index for non-instanced draws
at least.

TODO: Figure out if this affects the instanced draws too.

dEQP-GLES3.functional.draw.random.210 : Fail -> Pass

Change-Id: Ida45d4689e0418ad8679091556a9fcaa64bbe25e
system/GLESv2_enc/GL2Encoder.cpp