id, glhd: Unbreak texturing.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 23 Jun 2010 18:25:52 +0000 (11:25 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 23 Jun 2010 18:25:52 +0000 (11:25 -0700)
Argfl.

src/gallium/drivers/galahad/glhd_objects.c
src/gallium/drivers/identity/id_objects.c

index c9680d13e1509b0cf75ecfcc9b672829ee4bd431..6c5a21ae704900ad85702d619a7704fc79572150 100644 (file)
@@ -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:
index cd364a2bc0c0f5ae5fe186610ad1200eb524f245..593928f399c7edaa7ee904169541f0426e617184 100644 (file)
@@ -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: