From f356bb74de7ab9ad1085a0fc2f16c1dae4ff171e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 6 Jun 2011 18:00:36 +1000 Subject: 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 --- src/gallium/drivers/r600/r600.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/r600') 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 { -- cgit v1.2.3