r300g/swtcl: make pipe_context uploaders use malloc'd memory as before
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 Jun 2018 00:39:07 +0000 (20:39 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 6 Jun 2018 02:52:08 +0000 (22:52 -0400)
commit17a42062ccdb3bf5624435db9598e4353756771f
tree9d1a76426fba2b6198a07f93b66e9523b371eee6
parent01ad2067bba17451c663983877ec85145de20f02
r300g/swtcl: make pipe_context uploaders use malloc'd memory as before

Discovered by Roland Scheidegger.

The resource_create code uses GPU memory for PIPE_BIND_CUSTOM, but
malloc'd memory otherwise. Vertex and index buffers should use malloc'd
memory.

Cc: 18.0 18.1 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r300/r300_context.c