OSDN Git Service

nvc0: always put all tfb bufs into bufctx
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 21 Jun 2015 19:00:16 +0000 (15:00 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 23 Jun 2015 16:08:34 +0000 (12:08 -0400)
commit9fcbf515b431a92e0289f234ab77a796cf2a5612
tree7bac462ea696ddd0656c815929dbae53fd0d5378
parentfccf012adc0d3aad877de095244324aa1d2d046a
nvc0: always put all tfb bufs into bufctx

Since we clear the TFB bufctx binding point above, we need to put all of
the active tfb's back in, even if they haven't changed since last time.
Otherwise the tfb may get moved into sysmem and the underlying mapping
will generate write errors.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c