radv: use num_patches output from tcs shader.
authorDave Airlie <airlied@redhat.com>
Tue, 20 Feb 2018 01:22:07 +0000 (11:22 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 16 Mar 2018 05:23:05 +0000 (05:23 +0000)
commitf50d520acfb1a79c935e3f8838310a6db39d2427
tree8f4cf934ba29ffee1ce1adb632f2a2470d5bbdec
parentbf9a0ea85350d60304f8bfa664ba0d939af1c729
radv: use num_patches output from tcs shader.

Instead of recalculating the value, use the shader calculated value.

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