radv: check CS space in radv_emit_write_data_packet()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 Jul 2018 14:56:06 +0000 (16:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 27 Jul 2018 12:31:27 +0000 (14:31 +0200)
commitc08ae911d9a6e4d327fd1fb5316edd093e8d245b
tree3bb29553de221ee8f629ef80efe6c7be0ddb1f69
parent434630f57ca75413729b1631387154659fcb9a32
radv: check CS space in radv_emit_write_data_packet()

This wasn't wrong but it looks better to me like this. It's
only used for debugging purposes (ie. RADV_TRACE_FILE).

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