aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r600_context.h
diff options
context:
space:
mode:
authorRichard Li <[email protected]>2009-05-15 19:37:09 -0400
committerAlex Deucher <[email protected]>2009-05-15 19:49:17 -0400
commit2a7a2c6b77116fd475e1d05fb0adbd1702d11f77 (patch)
tree916caec81f0b8eb28076fef190bc20832d04600f /src/mesa/drivers/dri/r600/r600_context.h
parente2dcebd2e6b2af6269a5ece6d6ced73ec8bb4a47 (diff)
Fix r6 code bugs.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_context.h')
-rw-r--r--src/mesa/drivers/dri/r600/r600_context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.h b/src/mesa/drivers/dri/r600/r600_context.h
index 70108b74c47..ae80037602a 100644
--- a/src/mesa/drivers/dri/r600/r600_context.h
+++ b/src/mesa/drivers/dri/r600/r600_context.h
@@ -159,7 +159,7 @@ typedef struct chip_object
void *pvChipObj;
/* ------------ OUT ------------------- */
- GLboolean (*DestroyChipObj)(void* pvChipObj);
+ GLboolean (*DestroyChipObj)(GLcontext * ctx);
void (*InitFuncs)(struct dd_function_table *functions);
@@ -171,7 +171,8 @@ typedef struct chip_object
GLboolean (*EmitShader)( GLcontext * ctx,
void ** shaderbo,
GLvoid * data,
- int sizeinDWORD);
+ int sizeinDWORD,
+ char * szShaderUsage);
GLboolean (*DeleteShader)(GLcontext * ctx,
void * shaderbo);
void (*FreeDmaRegion)( GLcontext * ctx,