radv: emit shader descriptor pointers consecutively
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 May 2018 12:59:21 +0000 (14:59 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 29 May 2018 08:07:18 +0000 (10:07 +0200)
commit88d1ed0f818930fd37ea012893405f21ef1b78ea
tree04c3af1f1bade64d18b1e8bca0bff315700aa2d6
parent21baf33a942fafaccfaf9c802d0148f31b1b36ef
radv: emit shader descriptor pointers consecutively

This reduces the number of SET_SH_REG packets which are emitted
for applications that use more than one descriptor set per stage.

We should be able to emit more SET_SH_REG packets consecutively
(like push constants and vertex buffers for the vertex stage),
but this will be improved later.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c