mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/hlsl: Add uint64 wave op tests.
This commit is contained in:
committed by
Henri Verbeet
parent
f0f8bb3f36
commit
50306a8b08
Notes:
Henri Verbeet
2024-12-09 16:17:26 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/820
@@ -1237,6 +1237,18 @@ static void parse_test_directive(struct shader_runner *runner, const char *line)
|
||||
todo_if(runner->is_todo) bug_if(runner->is_bug)
|
||||
check_readback_data_uint(rb, &box, expect, 0);
|
||||
}
|
||||
else if (match_string(line, "rgui64", &line))
|
||||
{
|
||||
struct u64vec2 v;
|
||||
|
||||
if (*line != '(')
|
||||
fatal_error("Malformed probe arguments '%s'.\n", line);
|
||||
++line;
|
||||
read_uint64(&line, &v.x, false);
|
||||
read_uint64(&line, &v.y, false);
|
||||
line = close_parentheses(line);
|
||||
todo_if(runner->is_todo) check_readback_data_u64vec2(rb, &rect, &v);
|
||||
}
|
||||
else if (match_string(line, "rui64", &line) || (is_signed = match_string(line, "ri64", &line)))
|
||||
{
|
||||
uint64_t expect;
|
||||
|
Reference in New Issue
Block a user