summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/hsw_sol.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-05-08 22:48:02 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-05-20 19:55:40 -0700
commit915f7c25fac2683f924fded2b47208c7fb850044 (patch)
tree60d2a3bd13e6bdcee10087089970e5b2da437fb5 /src/mesa/drivers/dri/i965/hsw_sol.c
parent47fbe178fa631ae855fa862d638f5313a2b13bc3 (diff)
downloadexternal_mesa3d-915f7c25fac2683f924fded2b47208c7fb850044.zip
external_mesa3d-915f7c25fac2683f924fded2b47208c7fb850044.tar.gz
external_mesa3d-915f7c25fac2683f924fded2b47208c7fb850044.tar.bz2
i965: Don't write a counter snapshot on EndTransformFeedback if paused.
If the transform feedback object is paused, then we've already written an ending counter snapshot. We don't want to write another one. This fixes assertions in GL33-CTS.transform_feedback.api_errors_test, which calls EndTransformfeedback after PauseTransformFeedback. On the next BeginTransformFeedback, we tried to tally up the results, and saw an odd number of snapshots (due to the double-end), and tripped an assertion. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/hsw_sol.c')
0 files changed, 0 insertions, 0 deletions