llvmpipe: remove call to llvmpipe_set_texture_image_layout()
authorBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 14:42:30 +0000 (08:42 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 14:42:32 +0000 (08:42 -0600)
This would seem to be needed but caused some regressions.
More investigation will be done.

src/gallium/drivers/llvmpipe/lp_texture.c

index 01854ca2f2d398987ced6bc155467864ee8ea8eb..1d16b45fbf7f3dfe1c540b5fdb084ecc00b841ec 100644 (file)
@@ -931,9 +931,6 @@ llvmpipe_get_texture_image(struct llvmpipe_resource *lpr,
       /* Just allocating tiled memory.  Don't initialize it from the
        * linear data if it exists.
        */
-      llvmpipe_set_texture_image_layout(lpr, face_slice, level,
-                                        width_t, height_t, layout);
-
       return target_data;
    }