r600g: precompute depth buffer state in pipe_surface and reuse it
authorMarek Olšák <maraeo@gmail.com>
Wed, 1 Aug 2012 23:43:01 +0000 (01:43 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 4 Aug 2012 12:05:51 +0000 (14:05 +0200)
commitcdc681c3ad746fe8adab4ea71358bcc54e024ff9
tree2ab6f1fd27331627db98d321e566c668f80da105
parente6dfc8c77bc00c06a35270a4e50aa52c738c8629
r600g: precompute depth buffer state in pipe_surface and reuse it

This is done on-demand, because we don't know in advance if a zbuffer
will be bound as depth or color.
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_state.c