gallium/u_threaded: don't map big VRAM buffers for the first upload directly
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Nov 2017 23:00:53 +0000 (00:00 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Nov 2017 15:23:20 +0000 (16:23 +0100)
commit4b0dc098b2561c07c59f7dab2813640a25789bf1
treedac245ade98bd4e4dc5ba804d81771c6ef91339d
parenta5d3999c31e2460f690b561b41170bb7bc24fc65
gallium/u_threaded: don't map big VRAM buffers for the first upload directly

This improves Paraview "many spheres" performance 4x along with the radeonsi
commit.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_threaded_context.c
src/gallium/auxiliary/util/u_threaded_context.h
src/gallium/drivers/radeon/r600_buffer_common.c