mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Always initialise "*control_point_count" in vsir_signature_from_register_type().
Avoid a spurious -Wmaybe-uninitialized warning.
This commit is contained in:
parent
2c9cf7c78b
commit
77843aa837
Notes:
Henri Verbeet
2024-12-11 15:37:45 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1312
@ -7210,6 +7210,7 @@ static const struct shader_signature *vsir_signature_from_register_type(struct v
|
||||
enum vkd3d_shader_register_type register_type, bool *has_control_point, unsigned int *control_point_count)
|
||||
{
|
||||
*has_control_point = false;
|
||||
*control_point_count = 0;
|
||||
|
||||
switch (register_type)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user