nvc0: add a new validation state for 3D driver constbuf
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 17 Feb 2016 20:43:40 +0000 (21:43 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 21 Feb 2016 09:41:29 +0000 (10:41 +0100)
commit527652629dc6e7dc593e16505e4b6b648b1f09cc
treefc99da71813fe76e1b32ea57cf5f65ae8bd90434
parent57d4251003f4ed284179171bebaa2463675440d6
nvc0: add a new validation state for 3D driver constbuf

This will be used to invalidate 3D driver constbuf when using COMPUTE
and vice-versa. This is needed because this CB contains a bunch of
useful information like the addrs of shader buffers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c