diff options
author | Marek Olšák <[email protected]> | 2016-07-29 17:28:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-06 13:56:14 +0200 |
commit | d82cfab84c6b202e09180961959306acd50bd786 (patch) | |
tree | 3926a00c4a42a3e5098dfcd2a35a8e4dc6d9b76c /src/gallium/drivers/radeonsi/si_descriptors.c | |
parent | e62caf576e1c521d4d80c359f040a9978596e27d (diff) |
radeonsi: deal with high vertex buffer memory usage correctly
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 92875a25c70..1cbb86a4b1e 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -855,7 +855,7 @@ static void si_vertex_buffers_begin_new_cs(struct si_context *sctx) RADEON_PRIO_DESCRIPTORS); } -static bool si_upload_vertex_buffer_descriptors(struct si_context *sctx) +bool si_upload_vertex_buffer_descriptors(struct si_context *sctx) { struct si_descriptors *desc = &sctx->vertex_buffers; bool bound[SI_NUM_VERTEX_BUFFERS] = {}; @@ -1801,8 +1801,7 @@ bool si_upload_graphics_shader_descriptors(struct si_context *sctx) } sctx->descriptors_dirty &= ~mask; - - return si_upload_vertex_buffer_descriptors(sctx); + return true; } bool si_upload_compute_shader_descriptors(struct si_context *sctx) |