nvc0: disable xfb's which don't have a stride
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Jan 2020 00:46:59 +0000 (19:46 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Jan 2020 00:53:18 +0000 (19:53 -0500)
commit784b84d308f51430dbd4d9c58fd598c34c4ceefb
treecc7361a69f0055fc3c9538d946266727f4fb8a5d
parent9bf210ba982ba4e0a1cd125285eb65bc2213242f
nvc0: disable xfb's which don't have a stride

No stride / no attributes means that nothing is being written to the
buffer. However it might still prevent primitives from being written out
to the other buffers. Disabling it entirely seems to fix it.

Fixes GTF-GL45.gtf30.GL3Tests.transform_feedback.transform_feedback_overflow

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c