summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-19 23:41:02 +0200
committerMarek Olšák <[email protected]>2011-06-20 00:19:07 +0200
commitbadf0335ef70223204fbae3e8fdef718cdb3ad19 (patch)
treebd0e0d392a0afd135d23daa2e0e59cdde5718a03 /src/gallium/drivers/r600/r600_pipe.h
parent9bcce02f47f721bfb8917fd5639756fb3456aab5 (diff)
r600g: implement seamless_cube_map on r600-r700
st/mesa guarantees that all bound sampler states have the same value in seamless_cube_map.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 84a45bec05d..9941bbf0e3c 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -50,6 +50,7 @@ enum r600_pipe_state_id {
R600_PIPE_STATE_BLEND = 0,
R600_PIPE_STATE_BLEND_COLOR,
R600_PIPE_STATE_CONFIG,
+ R600_PIPE_STATE_SEAMLESS_CUBEMAP,
R600_PIPE_STATE_CLIP,
R600_PIPE_STATE_SCISSOR,
R600_PIPE_STATE_VIEWPORT,
@@ -126,6 +127,11 @@ struct r600_pipe_shader {
struct r600_vertex_element vertex_elements;
};
+struct r600_pipe_sampler_state {
+ struct r600_pipe_state rstate;
+ boolean seamless_cube_map;
+};
+
/* needed for blitter save */
#define NUM_TEX_UNITS 16