radv: use a define for the transition point between cp and compute shader
authorDave Airlie <airlied@redhat.com>
Tue, 24 Oct 2017 22:05:11 +0000 (08:05 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 25 Oct 2017 00:01:13 +0000 (10:01 +1000)
commit3cd3035aceeafa212a95cf3784fa21a978bdd09f
treeeaf99fca7348a37e59a5b5f99b2a9f8716db4892
parentb704538b00ee082ecb32e2bd2b0d610f791bcce0
radv: use a define for the transition point between cp and compute shader

For certain buffer meta ops we can use the CP or a compute shader,
we should use a define to rather than hardcoding 4096, allows
for easier testing and more consistency.

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