summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/galahad
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-11-26 02:30:13 +0100
committerRoland Scheidegger <[email protected]>2013-11-28 04:01:54 +0100
commite4d8084cbdeaaa392969d077e2a9d8e9df3b2cdc (patch)
tree531c7aae2738b87384d39781929325a5c067f273 /src/gallium/drivers/galahad
parent53a65e547c0bf769fff48b4ccb41d1477daa70de (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/galahad')
-rw-r--r--src/gallium/drivers/galahad/glhd_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/galahad/glhd_context.c b/src/gallium/drivers/galahad/glhd_context.c
index 0bb7abd3ac0..fa743bd1562 100644
--- a/src/gallium/drivers/galahad/glhd_context.c
+++ b/src/gallium/drivers/galahad/glhd_context.c
@@ -518,7 +518,7 @@ galahad_context_set_sampler_views(struct pipe_context *_pipe,
{
struct galahad_context *glhd_pipe = galahad_context(_pipe);
struct pipe_context *pipe = glhd_pipe->pipe;
- struct pipe_sampler_view *unwrapped_views[PIPE_MAX_SAMPLERS];
+ struct pipe_sampler_view *unwrapped_views[PIPE_MAX_SHADER_SAMPLER_VIEWS];
unsigned i;
for (i = 0; i < num; i++)