r600g: Set the correct value of COLOR*_DIM for RATs
authorTom Stellard <thomas.stellard@amd.com>
Thu, 13 Sep 2012 17:15:57 +0000 (17:15 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 19 Sep 2012 18:58:53 +0000 (14:58 -0400)
commit3e3ca9271887ea4c8d3312d8943aefcd5e1893e0
treed729d32ba58e53bb6966f54e7e667bcc8bd4dc62
parent9db64530bbb7b584bce9ac2153035b0939f06681
r600g: Set the correct value of COLOR*_DIM for RATs

For buffers (which is what is being used for RATs), the
COLOR*_DIM.WIDTH_MASK field needs to be set to the low 16-bits of the
buffer size, and the COLOR*_DIM.HEIEGHT_MAX needs to be set to the
high bits.

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