summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2005-02-21 06:09:30 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2005-02-21 06:09:30 +0000
commite00b72971629e41d5ac0e85391a466655c790d66 (patch)
tree88a4919e57b9692d1dfe691dc74ba8cab30242af /src/mesa/drivers/dri/r300/r300_context.h
parenta2990a9d730e1fe579debbe0e4a7be46c5c2329b (diff)
Add code to autogenerate vertex shaders.
This is needed for multitexturing to work properly.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index ae9711d551..f4911fd311 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -666,7 +666,10 @@ struct r300_state {
struct r300_dma_region elt_ao;
GLuint render_inputs; /* actual render inputs that R300 was configured for.
- They are the same as tnl->render_inputs for fixed pipeline */
+ They are the same as tnl->render_inputs for fixed pipeline */
+ struct {
+ int transform_offset; /* Transform matrix offset, -1 if none */
+ } vap_param; /* vertex processor parameter allocation - tells where to write parameters */
int hw_stencil;
};