diff options
author | Dave Airlie <[email protected]> | 2010-10-18 12:04:57 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-18 13:39:54 +1000 |
commit | a1b7333c07797faea29f50fd49b6c5e877beca0a (patch) | |
tree | 277ac7e9cd8cf43717d2574858a7a5b8e8d1aee2 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 9da17fed2e7645a401a378ae690eb23513948e18 (diff) |
r600g: do proper tracking of views/samplers.
we need to do pretty much what r300g does in for this, this fixes some
issues seen while working on tiling.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 35548329e46..e7c4b60d00c 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -94,10 +94,12 @@ struct r600_pipe_shader { }; /* needed for blitter save */ +#define NUM_TEX_UNITS 16 + struct r600_textures_info { - struct r600_pipe_sampler_view **views; + struct r600_pipe_sampler_view *views[NUM_TEX_UNITS]; unsigned n_views; - void **samplers; + void *samplers[NUM_TEX_UNITS]; unsigned n_samplers; }; |