r600g: Add evergreen_init_color_surface_rat() v2
authorTom Stellard <thomas.stellard@amd.com>
Tue, 25 Sep 2012 17:46:18 +0000 (17:46 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 1 Oct 2012 15:37:16 +0000 (15:37 +0000)
commit2508d43c363d36191bf923a7664ddba327b66cf8
tree20217d0572419e28646e9dd8d769caed54b8541f
parentd13c3b19f9169308fe8d6e59313b41a7e69163e5
r600g: Add evergreen_init_color_surface_rat() v2

This can be used to initialize the CB* registers for buffers without a
radeon_surface.

v2:
  - Get correct group_bytes value from r600_screen
  - Stop setting unnecessary fields

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h