r600g: use pipe_resource::width0 instead pb_buffer::size
authorMarek Olšák <marek.olsak@amd.com>
Sun, 6 Sep 2015 14:40:21 +0000 (16:40 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Sep 2015 15:14:15 +0000 (17:14 +0200)
commit5c6c5b524649997805d0128d4df9dda5e8567cbb
tree9cd486b53018c454fd73cbd42ecdd9b4bb85e5ba
parent7956eae1c76e298ca1ded46679c1a9bf875ec4ee
r600g: use pipe_resource::width0 instead pb_buffer::size

pb_buffer::size was aligned by 29aaab2b5f55cc6d9a84f58ce2bb8607e76a9dde,
which broke the CMASK code I think.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91881

Cc: 11.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c