diff options
author | Marek Olšák <[email protected]> | 2012-09-10 04:53:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-13 20:18:44 +0200 |
commit | f2eac1423a92ba47981ba50a4af22e6596059cf4 (patch) | |
tree | eb7a76c7832f835284fb1122a85349dbcffb7c93 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 3fe78594b1221358f4ba96072d952e33a7e54a76 (diff) |
r600g: put sampler states and views into an array indexed by shader type
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 8d1acd26504..b101db637b9 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -379,8 +379,7 @@ struct r600_context { /** Vertex buffers for compute shaders */ struct r600_vertexbuf_state cs_vertex_buffer_state; struct r600_constbuf_state constbuf_state[PIPE_SHADER_TYPES]; - struct r600_textures_info vs_samplers; - struct r600_textures_info ps_samplers; + struct r600_textures_info samplers[PIPE_SHADER_TYPES]; struct r600_seamless_cube_map seamless_cube_map; struct r600_cs_shader_state cs_shader_state; struct r600_sample_mask sample_mask; |