[Mesa-dev] [Bug 77023] [llvmpipe] SIGSEGV src/gallium/drivers/llvmpipe/lp_texture.c:600
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 3 18:42:07 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77023
--- Comment #1 from Brian Paul <brianp at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140404/9a90a7df/attachment.html>
More information about the mesa-dev
mailing list