summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2005-03-15 17:00:44 +0000
committerBen Skeggs <[email protected]>2005-03-15 17:00:44 +0000
commit34dd4843d7b86eee8e0d18de275dd963ac2e3ffd (patch)
tree67a8195172d48168425360d0ba4f8034c3d2c422 /src/mesa/drivers/dri/r300/r300_context.h
parent7457a648d28a49a58d2f626dcbd82d30506c7679 (diff)
Initial multitexturing support. Old behaviour can be re-enabled by changing ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 75aeb3eff71..66eaa0f2b22 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -630,7 +630,12 @@ struct r300_pixel_shader_program {
#define MAX_PIXEL_SHADER_PARAMS 32
struct r300_pixel_shader_state {
struct r300_pixel_shader_program program;
-
+
+ int translated;
+ int have_sample;
+ GLuint color_reg;
+ GLuint src_previous;
+
/* parameters */
int param_length; /* to limit the number of unnecessary writes */
struct {