nvc0: don't try to go through the push path for indirect draws
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 15 May 2016 05:26:37 +0000 (01:26 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 15 May 2016 14:48:39 +0000 (10:48 -0400)
commit9323d084ac5a5f59936097b6f5bf9db41c1a89bd
tree0273540f788edf89fd33715c343dfcde7a33b1d9
parent2ef3cdb07e42d985103b5a3e930b2bba676e920b
nvc0: don't try to go through the push path for indirect draws

This fixes

dEQP-GLES31.functional.draw_indirect.draw_elements_indirect.*.default_attribute

These tests were causing a const vbo to be set up, and were small enough
draws that the logic was trying to go via the push path (which emits
data directly into the cmd stream rather than uploading a user vbo).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c