radv: pass num_patches to tes from tcs
authorDave Airlie <airlied@redhat.com>
Mon, 19 Feb 2018 07:31:55 +0000 (07:31 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 16 Mar 2018 05:22:58 +0000 (05:22 +0000)
commit6db44d6a8c35e414c393246d0d657dbcac3b981b
tree89cc671a4ab89bd25abfcd54c7e07300ab3444de
parent010d055aae7611f0a53b8b3dd3df98a71e52ad6a
radv: pass num_patches to tes from tcs

TES needs num_patches to do some of the calculations.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.h