summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-11-30 13:15:57 +1000
committerDave Airlie <[email protected]>2015-12-07 09:58:59 +1000
commitbb2b8778cbf7ca6263bf1540708900620a56ace4 (patch)
tree4fc63f99bdb503a81cd85ec57b93f5da21dc7268 /src/gallium/drivers/r600/r600_pipe.h
parentd1b90839c07c34d3390d393df3b78c13d0b06684 (diff)
r600: make adjust_gprs use hw stages.
This changes the r600 specific GPR adjustment code to use the stage defines, and arrays. This is prep work for the tess changes later. Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 5b5eaacf683..e248b372f03 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -432,7 +432,7 @@ struct r600_context {
/* Hardware info. */
boolean has_vertex_cache;
boolean keep_tiling_flags;
- unsigned default_ps_gprs, default_vs_gprs;
+ unsigned default_gprs[EG_NUM_HW_STAGES];
unsigned r6xx_num_clause_temp_gprs;
/* Miscellaneous state objects. */