mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07: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;
|
match = true;
|
||||||
line += option_len;
|
line += option_len;
|
||||||
if (valid_args[i].tag)
|
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
|
else if (runner->minimum_shader_model < valid_args[i].sm_min
|
||||||
|| runner->minimum_shader_model > valid_args[i].sm_max)
|
|| runner->minimum_shader_model > valid_args[i].sm_max)
|
||||||
holds = false;
|
holds = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user