summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_compiler.h')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_compiler.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
index 09794a52ad..f15905d79d 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
@@ -38,6 +38,10 @@ struct radeon_compiler {
unsigned Error:1;
char * ErrorMsg;
+ /* Hardware specification. */
+ unsigned is_r500;
+ unsigned max_temp_regs;
+
/**
* Variables used internally, not be touched by callers
* of the compiler
@@ -84,12 +88,9 @@ struct r300_fragment_program_compiler {
/* Optional transformations and features. */
struct r300_fragment_program_external_state state;
unsigned enable_shadow_ambient;
- /* Hardware specification. */
- unsigned is_r500;
- unsigned max_temp_regs;
- /* Register corresponding to the depthbuffer. */
+ /* Register corresponding to the depthbuffer. */
unsigned OutputDepth;
- /* Registers corresponding to the four colorbuffers. */
+ /* Registers corresponding to the four colorbuffers. */
unsigned OutputColor[4];
void * UserData;