radv: factor out si_emit_wait_fence code.
authorDave Airlie <airlied@redhat.com>
Thu, 1 Jun 2017 04:12:19 +0000 (05:12 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Jun 2017 02:48:20 +0000 (12:48 +1000)
commit7205431e731107d6b71f15cb431dd459babdf8ed
tree7505d0edc517a9766ceea10e8acff450519b3e23
parent1a22c4c960b80f7f7d075b362cf78544e235a861
radv: factor out si_emit_wait_fence code.

This code was in a few places, consolidate into one.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_query.c
src/amd/vulkan/si_cmd_buffer.c