summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-14 04:12:32 +0200
committerMarek Olšák <[email protected]>2012-10-15 16:04:09 +0200
commit023dae71ef219307d168dc34389ba80e48e1a1aa (patch)
tree0a9b42d30babef227ae9316a39dba5cfce94169d /src/gallium/drivers/r600/r600_pipe.h
parent33dda8f4fb4298d6c8e04d2b5fe569b56043b28d (diff)
r600g: emit the border color only when it's needed
That depends on the texture wrap modes and filtering.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index d68a06c78b0..2e1d677c79e 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -643,6 +643,7 @@ unsigned r600_tex_wrap(unsigned wrap);
unsigned r600_tex_filter(unsigned filter);
unsigned r600_tex_mipfilter(unsigned filter);
unsigned r600_tex_compare(unsigned compare);
+bool sampler_state_needs_border_color(const struct pipe_sampler_state *state);
/*
* Helpers for building command buffers