nvc0: always keep TSC slot 0 bound to fix TXF
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 2 Dec 2018 18:19:01 +0000 (13:19 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 15 Dec 2018 01:01:31 +0000 (20:01 -0500)
commit153d3fc5f9348d361b85ec0fcfe4c1a8d14fa385
treea7c2c92b6f1ac1c5efaf1572288ce59e9912123c
parent4aeaf89aa776fa4f6f7c60eafa8806e660d2a13d
nvc0: always keep TSC slot 0 bound to fix TXF

Same as on nv50, the TXF op always uses the TSC bound to slot 0,
returning blank values if nothing is bound.

An earlier change arranges for the TSC entries list to always have valid
data at entry 0, so here we just make use of it.

Fixes arb_texture_buffer_object-subdata-sync among others.

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