r600g: cleanup create_sampler_state functions
authorMarek Olšák <maraeo@gmail.com>
Sun, 14 Oct 2012 01:53:09 +0000 (03:53 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 15 Oct 2012 14:04:09 +0000 (16:04 +0200)
commit33dda8f4fb4298d6c8e04d2b5fe569b56043b28d
treeb6b7795165c65d56a4ed8f936bef0d2cb5e3a1f6
parent2bbd307fa638f6d256d020ddf1cff5fc7f735fd2
r600g: cleanup create_sampler_state functions

- stopped using util_color
- reformatted to occupy less characters per line.
- used memcpy for the border color
- used pipe_color_union in the state structure
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c