[Mesa-dev] [PATCH] gallium: fix behavior of pipe_buffer_map_range

Brian Paul brian.e.paul at gmail.com
Tue Jan 3 07:01:49 PST 2012


On Sun, Jan 1, 2012 at 10:27 AM, Marek Olšák <maraeo at gmail.com> wrote:
> To match what transfer_map returns. Really, subtracting the offset leads
> to bugs if someone expects it to work exactly like transfer_map.
> ---
>  src/gallium/auxiliary/util/u_inlines.h       |    7 ++-----
>  src/gallium/auxiliary/util/u_upload_mgr.c    |    4 +++-
>  src/gallium/drivers/svga/svga_state_vs.c     |    1 +
>  src/mesa/state_tracker/st_cb_bufferobjects.c |    4 ----
>  src/mesa/state_tracker/st_draw.c             |   11 ++++++-----
>  5 files changed, 12 insertions(+), 15 deletions(-)
>

Looks good.

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list