https://bugs.freedesktop.org/show_bug.cgi?id=77023

--- Comment #1 from Brian Paul <bri...@vmware.com> ---
The problem is we're mapping the same texture (but different slices) multiple
times simultaneously.  The state tracker doesn't support that.

This assertion fails if I put it in st_texture.c:

--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -256,6 +256,9 @@ st_texture_image_map(struct st_context *st, struct
st_textur
e_image *stImage,
    else
       level = stImage->base.Level;

+   /* check that the texture's not already mapped */
+   assert(!stImage->transfer);
+
    return pipe_transfer_map_3d(st->pipe, stImage->pt, level, usage,
                                x, y, z + stImage->base.Face,
                                w, h, d, &stImage->transfer);

Gallium allows mapping multiple slices of a 3D texture, but not Mesa's
ctx->Driver.MapTextureImage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to