summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-03 13:07:40 +1000
committerDave Airlie <airlied@redhat.com>2010-09-03 13:34:57 +1000
commitb5fcf8274916afdf29aca5e8db7611687b03abe4 (patch)
tree3bc7397384f62520e035f9c8d1be4c5342a5115c /src/gallium/drivers/r600/r600_context.h
parentce7077423fc9ea003606dd28ca87311644b7e5c2 (diff)
r600g: add texture border state.
Okay I finally wrapped my head around what r600_context_state is meant to be, maybe I should just rename all the structs so that have distinct names. I've no idea however why 16 is a good magic number for R600_MAX_RSTATE.
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index 19161e4cf4..6294f7ad47 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -142,6 +142,7 @@ struct r600_context {
unsigned vs_nsampler;
unsigned ps_nsampler_view;
unsigned vs_nsampler_view;
+ unsigned ps_nsampler_border;
unsigned nvertex_buffer;
struct r600_context_state *rasterizer;
struct r600_context_state *poly_stipple;
@@ -161,6 +162,7 @@ struct r600_context {
struct radeon_state *vs_sampler[PIPE_MAX_ATTRIBS];
struct radeon_state *ps_sampler_view[PIPE_MAX_ATTRIBS];
struct radeon_state *vs_sampler_view[PIPE_MAX_ATTRIBS];
+ struct radeon_state *ps_sampler_border[PIPE_MAX_ATTRIBS];
struct r600_vertex_element *vertex_elements;
struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS];
struct pipe_index_buffer index_buffer;