summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-20 10:46:13 +0100
committerNicolai Hähnle <[email protected]>2017-02-21 10:45:02 +0100
commit6a1d9684f4ec1e1eed49bc14749be7b7784277ec (patch)
treea74b44d0b96ab27f93f1288cedae1455a53ddf79 /src/gallium/targets/dri
parent550125e1e73e2441989da11495057a20dd9dad44 (diff)
radeonsi: handle MultiDrawIndirect in si_get_draw_start_count
Also handle the GL_ARB_indirect_parameters case where the count itself is in a buffer. Use transfers rather than mapping the buffers directly. This anticipates the possibility that the buffers are sparse (once ARB_sparse_buffer is implemented), in which case they cannot be mapped directly. Fixes GL45-CTS.gtf43.GL3Tests.multi_draw_indirect.multi_draw_indirect_type on <= CIK. v2: - unmap the indirect buffer correctly - handle the corner case where we have indirect draws, but all of them have count 0. Cc: [email protected] Reviewed-by: Marek Olšák <[email protected]> Acked-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
0 files changed, 0 insertions, 0 deletions