radv: make radv_fill_buffer() return the needed flush bits
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 Oct 2017 16:03:23 +0000 (18:03 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 27 Oct 2017 11:47:03 +0000 (13:47 +0200)
commit0d61109bb75333b3e80fda69cbc5b75b0f3f9233
tree3c39d9a62be039f3e8d800f02b51aa26fc050a67
parent4b9421d45da41955947f4c75be033ec1bc1d18f5
radv: make radv_fill_buffer() return the needed flush bits

Only needed when the CS path is used.

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