radv/tess: don't need to look in constant for vertices_per_patch
authorDave Airlie <airlied@redhat.com>
Mon, 19 Feb 2018 04:55:52 +0000 (04:55 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Feb 2018 00:01:28 +0000 (00:01 +0000)
commit952222ddd423bce3b6e836f3ae305cbad0622e22
tree25349de9deb8e77de10923a9cdc89df1d7bf0637
parent77fd1b9187a3aec665257ced5e58fae6fc89290f
radv/tess: don't need to look in constant for vertices_per_patch

This just avoids passing this value via user sgprs.

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