summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-06-06 18:00:36 +1000
committerDave Airlie <[email protected]>2011-06-07 09:32:29 +1000
commitf356bb74de7ab9ad1085a0fc2f16c1dae4ff171e (patch)
treed8e24bcdbd7c5f9dadb916f7da6b75f85a188f7f /src/gallium/drivers/r600/r600.h
parentbe7af43f5a725b65701ab1e37a5c373d715be9b0 (diff)
r600g/winsys: overhaul resource range/blocks.
There isn't much point taking the overhead of range/block lookups on resources we aren't going to be getting resource registers at wierd offsets. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 5d6240aef24..cc70600610e 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -267,6 +267,10 @@ struct r600_context {
unsigned num_dest_buffers;
unsigned flags;
boolean predicate_drawing;
+ struct r600_range ps_resources;
+ struct r600_range vs_resources;
+ struct r600_range fs_resources;
+ int num_ps_resources, num_vs_resources, num_fs_resources;
};
struct r600_draw {