summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/galahad/glhd_objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/galahad/glhd_objects.c')
-rw-r--r--src/gallium/drivers/galahad/glhd_objects.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/galahad/glhd_objects.c b/src/gallium/drivers/galahad/glhd_objects.c
index c9680d13e15..6c5a21ae704 100644
--- a/src/gallium/drivers/galahad/glhd_objects.c
+++ b/src/gallium/drivers/galahad/glhd_objects.c
@@ -127,6 +127,7 @@ galahad_sampler_view_create(struct galahad_context *glhd_context,
glhd_view->base.texture = NULL;
pipe_resource_reference(&glhd_view->base.texture, glhd_resource->resource);
glhd_view->base.context = glhd_context->pipe;
+ glhd_view->sampler_view = view;
return &glhd_view->base;
error: