OSDN Git Service

i965/gen6/xfb: handle case where transform feedback is not active
authorAndrii Simiklit <asimiklit.work@gmail.com>
Wed, 15 Aug 2018 15:20:32 +0000 (18:20 +0300)
committerSamuel Iglesias Gonsalvez <correo@samuelig.es>
Tue, 28 Aug 2018 13:32:45 +0000 (15:32 +0200)
commit1b0df8a46020cc88afeaa4decb42a782ab168afb
tree6d64450b7d19c7ff16137303ee46afa32d2b4984
parent743e11c10b180247488ae0cc24900560e0a74e2b
i965/gen6/xfb: handle case where transform feedback is not active

When the SVBI Payload Enable is false I guess the register R1.4
which contains the Maximum Streamed Vertex Buffer Index is filled by zero
and GS stops to write transform feedback when the transform feedback
is not active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107579
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/mesa/drivers/dri/i965/genX_state_upload.c