gallium/drivers: support more sampler views than samplers for more drivers
This adds support for this to more drivers, in particular for all the "special" ones useful for debugging. HW drivers are left alone, some should be able to support it if they want but they may not be interested at this point. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
@@ -712,7 +712,7 @@ rbug_set_sampler_views(struct pipe_context *_pipe,
|
||||
{
|
||||
struct rbug_context *rb_pipe = rbug_context(_pipe);
|
||||
struct pipe_context *pipe = rb_pipe->pipe;
|
||||
struct pipe_sampler_view *unwrapped_views[PIPE_MAX_SAMPLERS];
|
||||
struct pipe_sampler_view *unwrapped_views[PIPE_MAX_SHADER_SAMPLER_VIEWS];
|
||||
struct pipe_sampler_view **views = NULL;
|
||||
unsigned i;
|
||||
|
||||
|
Reference in New Issue
Block a user