diff options
author | Kai Wasserbäch <[email protected]> | 2016-08-27 04:08:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-29 09:07:25 -0600 |
commit | 532db3b7881f3dfcd299320cbf44443d06b88373 (patch) | |
tree | 3d7099d986e4efbc4579e35d6139080f8f5ad0d2 /src/gallium/drivers/r300 | |
parent | 7413625ad357c87f409cd1673b40f8dffbc43259 (diff) |
gallium: Use enum pipe_shader_type in set_sampler_views()
Signed-off-by: Kai Wasserbäch <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 7c1aed8ff80..196c0df8864 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1522,7 +1522,8 @@ static uint32_t r300_assign_texture_cache_region(unsigned index, unsigned num) return R300_TX_CACHE(num + index); } -static void r300_set_sampler_views(struct pipe_context* pipe, unsigned shader, +static void r300_set_sampler_views(struct pipe_context* pipe, + enum pipe_shader_type shader, unsigned start, unsigned count, struct pipe_sampler_view** views) { |