summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-14 03:53:09 +0200
committerMarek Olšák <[email protected]>2012-10-15 16:04:09 +0200
commit33dda8f4fb4298d6c8e04d2b5fe569b56043b28d (patch)
treeb6b7795165c65d56a4ed8f936bef0d2cb5e3a1f6 /src/gallium/drivers/r600/r600_pipe.h
parent2bbd307fa638f6d256d020ddf1cff5fc7f735fd2 (diff)
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
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 578cbbe57d9..d68a06c78b0 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -264,7 +264,7 @@ struct r600_pipe_shader_selector {
struct r600_pipe_sampler_state {
uint32_t tex_sampler_words[3];
- uint32_t border_color[4];
+ union pipe_color_union border_color;
bool border_color_use;
bool seamless_cube_map;
};