summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-12-04 00:37:35 +0000
committerDave Airlie <airliedfreedesktop.org>2005-12-04 00:37:35 +0000
commitf93feb7aedc194f3fa04fa2216b2a215548b2e4e (patch)
tree2034e1249342b8f403d4d3b2b15e3f4331242827 /src/mesa/drivers/dri/r300/r300_context.h
parenteb06704a7c0027136d5ced74d67a83ddaf1f82aa (diff)
Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeon
sw tcl
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 5d6ebe27aa..695609d33c 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -177,10 +177,11 @@ struct r300_tex_obj {
/* Six, for the cube faces */
+ GLuint pitch; /* this isn't sent to hardware just used in calculations */
/* hardware register values */
/* Note that R200 has 8 registers per texture and R300 only 7 */
GLuint filter;
- GLuint pitch; /* one of the unknown registers.. unknown 1 ?*/
+ GLuint pitch_reg;
GLuint size; /* npot only */
GLuint format;
GLuint offset; /* Image location in the card's address space.
@@ -481,6 +482,7 @@ struct r300_hw_state {
struct r300_state_atom unknown1;
struct r300_state_atom size;
struct r300_state_atom format;
+ struct r300_state_atom pitch;
struct r300_state_atom offset;
struct r300_state_atom unknown4;
struct r300_state_atom border_color;