u_upload_mgr: Use pipe_buffer_map_range istead of pipe_buffer_map.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 1 Jul 2011 16:05:30 +0000 (17:05 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 1 Jul 2011 17:32:40 +0000 (18:32 +0100)
commitdda8d7ac3f0e5148d9738a57f7bc03216f6514d1
treecb5d01fd5d81ebb62afd2eb08f72fee5eb01f425
parent7d39ff44a2256a08fac725ae0ee8a4475fbf9de5
u_upload_mgr: Use pipe_buffer_map_range istead of pipe_buffer_map.

pipe_buffer_map_range makes stricter assertions, and would have saved us
grief detecting a bug in svga user buffer uploads.
src/gallium/auxiliary/util/u_upload_mgr.c