summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-06-23 11:25:52 -0700
committerCorbin Simpson <[email protected]>2010-06-23 11:25:52 -0700
commit666fdc01c4a00eef0e114001441441fb7caeee15 (patch)
tree74aa1ee0d70223de7947ddc267599ba53e75fa31 /src
parent95263058349060fcba9f59a866eb30b4656c33a5 (diff)
id, glhd: Unbreak texturing.
Argfl.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/galahad/glhd_objects.c1
-rw-r--r--src/gallium/drivers/identity/id_objects.c1
2 files changed, 2 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:
diff --git a/src/gallium/drivers/identity/id_objects.c b/src/gallium/drivers/identity/id_objects.c
index cd364a2bc0c..593928f399c 100644
--- a/src/gallium/drivers/identity/id_objects.c
+++ b/src/gallium/drivers/identity/id_objects.c
@@ -127,6 +127,7 @@ identity_sampler_view_create(struct identity_context *id_context,
id_view->base.texture = NULL;
pipe_resource_reference(&id_view->base.texture, id_resource->resource);
id_view->base.context = id_context->pipe;
+ id_view->sampler_view = view;
return &id_view->base;
error: