OSDN Git Service

radv: Reset emitted compute pipeline when calling secondary cmd buffer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 26 Feb 2017 19:01:26 +0000 (20:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 1 Mar 2017 13:37:09 +0000 (13:37 +0000)
commit3169c9818bcaeb9e38fad8eaf5ec6772816d7f91
tree0fc4c44c6b2e1f6d98f6c9f90b9ee62253c7c15a
parent03982603f0c56bc57df04663c977c4b474263ff4
radv: Reset emitted compute pipeline when calling secondary cmd buffer.

Otherwise if the new compute pipeline is the same as the last used
pipeline before the call, we don't emit it again.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
(cherry picked from commit bb878db7eb94e48476a920d66174a45da2585e19)
src/amd/vulkan/radv_cmd_buffer.c