summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-07-27 19:34:08 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-07-27 22:51:39 +0200
commit6bc0e1054a212ec80408f685237b0e0c1e4929f0 (patch)
treeed76c484217c04cee4475b4bec3b6b1b2758b983 /src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
parente82a50a6a1abd39aa7153846be07b7c5e9172485 (diff)
r300/compiler: Prepare for hookup to Gallium
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_compiler.h')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_compiler.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
index b22da17583..15f8b8fd92 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
@@ -43,9 +43,9 @@ struct rc_program {
*/
struct rc_instruction Instructions;
- GLbitfield InputsRead;
- GLbitfield OutputsWritten;
- GLbitfield ShadowSamplers; /**< Texture units used for shadow sampling. */
+ uint32_t InputsRead;
+ uint32_t OutputsWritten;
+ uint32_t ShadowSamplers; /**< Texture units used for shadow sampling. */
struct rc_constant_list Constants;
};
@@ -53,8 +53,8 @@ struct rc_program {
struct radeon_compiler {
struct memory_pool Pool;
struct rc_program Program;
- GLboolean Debug;
- GLboolean Error;
+ unsigned Debug:1;
+ unsigned Error:1;
char * ErrorMsg;
};
@@ -75,7 +75,7 @@ struct r300_fragment_program_compiler {
struct radeon_compiler Base;
struct rX00_fragment_program_code *code;
struct r300_fragment_program_external_state state;
- GLboolean is_r500;
+ unsigned is_r500;
unsigned OutputDepth;
unsigned OutputColor;
@@ -94,6 +94,7 @@ struct r300_vertex_program_compiler {
struct r300_vertex_program_code *code;
GLbitfield RequiredOutputs;
+ void * UserData;
void (*SetHwInputOutput)(struct r300_vertex_program_compiler * c);
};