mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader-runner: Introduce an 'int64' requirement directive.
This commit is contained in:
committed by
Alexandre Julliard
parent
0610867334
commit
95c48eb98e
Notes:
Alexandre Julliard
2023-12-12 23:15:46 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/489
@@ -191,6 +191,10 @@ static void parse_require_directive(struct shader_runner *runner, const char *li
|
||||
runner->compile_options |= options[i].option;
|
||||
}
|
||||
}
|
||||
else if (match_string(line, "int64", &line))
|
||||
{
|
||||
runner->require_int64 = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
fatal_error("Unknown require directive '%s'.\n", line);
|
||||
@@ -1311,6 +1315,7 @@ void run_shader_tests(struct shader_runner *runner, const struct shader_runner_o
|
||||
state = STATE_REQUIRE;
|
||||
runner->minimum_shader_model = minimum_shader_model;
|
||||
runner->maximum_shader_model = maximum_shader_model;
|
||||
runner->require_int64 = false;
|
||||
runner->compile_options = 0;
|
||||
skip_tests = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user