Author :
James Darpinian
Date :
2019-01-31 17:04:14
Hash :4b654982 Message :GL backend: Transform feedback driver bug workaround
In some drivers, if transform feedback is paused and a new program is
bound, calling endTransformFeedback does not correctly unpause first,
creating an invalid paused but inactive state that causes errors later.
Before calling endTransformFeedback we first ensure that the current
program is the one associated with this transform feedback object when
beginTransformFeedback was called.
Bug: 832238
Change-Id: I2373b0c123fd20a7ee3ada76ed878d4968184476
Reviewed-on: https://chromium-review.googlesource.com/c/1448661
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: James Darpinian <jdarpinian@chromium.org>