radv: fix cdw check vs tracing emit
authorDave Airlie <airlied@redhat.com>
Fri, 27 Jul 2018 03:20:03 +0000 (04:20 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Jul 2018 20:20:27 +0000 (06:20 +1000)
commit50403193312313d8c4212647208ba2d9998cbe52
treeec4d5d497e5eb45217ff36fd6999af2947d6986f
parentb88468f15c01f129eec9f9e0ec0ff7b65d650aa2
radv: fix cdw check vs tracing emit

If we have tracing enabled we could do all the tracing emits
and overflow the precalculated cdw_max.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c