diff options
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; }; |