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

--- Comment #2 from Ilia Mirkin <[email protected]> ---
No wonder this felt familiar.

commit 2259b111003f2e8c55cae42677ec45345fb1b6e3
Author: Ilia Mirkin <[email protected]>
Date:   Thu Aug 27 15:28:24 2015 -0400

    mesa: only copy the requested teximage faces

    Cube maps are special in that they have separate teximages for each
    face. We handled that by copying the data to them separately, but in
    case zoffset != 0 or depth != 6 we would read off the end of the client
    array or modify the wrong images.

    zoffset/depth have already been verified by the time the code gets to
    this stage, so no need to double-check.

    Signed-off-by: Ilia Mirkin <[email protected]>
    Reviewed-by: Brian Paul <[email protected]>
    Cc: "10.6 11.0" <[email protected]>

But I only applied it to regular tex images, not to compressed ones.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to