mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Compute the correct value for condition conjunctions.
Currently the value of the last conjunct is returned.
This commit is contained in:
parent
cf3e251a9f
commit
bc830fa06b
Notes:
Henri Verbeet
2024-10-22 20:55:14 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1203
@ -167,7 +167,7 @@ static bool check_qualifier_args_conjunction(struct shader_runner *runner, const
|
||||
match = true;
|
||||
line += option_len;
|
||||
if (valid_args[i].tag)
|
||||
holds = match_tag(runner, option_text);
|
||||
holds &= match_tag(runner, option_text);
|
||||
else if (runner->minimum_shader_model < valid_args[i].sm_min
|
||||
|| runner->minimum_shader_model > valid_args[i].sm_max)
|
||||
holds = false;
|
||||
|
Loading…
Reference in New Issue
Block a user