vkd3d-shader: Translate gather4_po instructions.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2018-09-24 10:25:24 +02:00
committed by Alexandre Julliard
parent a553eb1afe
commit 5319cc2420
2 changed files with 25 additions and 9 deletions

View File

@@ -9870,7 +9870,7 @@ static void test_gather(void)
{
const struct vec4 *expected = &expected_gather4_offset[y * rb.width + x];
const struct vec4 *got = get_readback_vec4(&rb, x, y);
todo(compare_vec4(got, expected, 0),
ok(compare_vec4(got, expected, 0),
"Got {%.8e, %.8e, %.8e, %.8e}, expected {%.8e, %.8e, %.8e, %.8e}.\n",
got->x, got->y, got->z, got->w, expected->x, expected->y, expected->z, expected->w);
}
@@ -9906,7 +9906,7 @@ static void test_gather(void)
{
const struct vec4 *expected = &expected_gather4[y * rb.width + x];
const struct vec4 *got = get_readback_vec4(&rb, x, y);
todo(compare_vec4(got, expected, 0),
ok(compare_vec4(got, expected, 0),
"Got {%.8e, %.8e, %.8e, %.8e}, expected {%.8e, %.8e, %.8e, %.8e}.\n",
got->x, got->y, got->z, got->w, expected->x, expected->y, expected->z, expected->w);
}