radv: reduce radv_tessellation_info::patch_control_points to 8-bit

The value must be less than or equal to maxTessellationPatchSize which
is limited to 32 with RADV.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16778>
This commit is contained in:
Samuel Pitoiset 2022-05-30 16:06:42 +02:00 committed by Marge Bot
parent c869a5d550
commit 2f176f86c2

View file

@ -1884,7 +1884,7 @@ struct radv_input_assembly_info {
};
struct radv_tessellation_info {
uint32_t patch_control_points;
uint8_t patch_control_points;
VkTessellationDomainOrigin domain_origin;
};