mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Implement DTOU instruction.
Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
c61b573d9c
commit
88c08df03b
@@ -10022,12 +10022,12 @@ static void test_shader_instructions(void)
|
||||
{&ps_dge, {.d = {{1.5, 1.0}}}, {{0xffffffff}}, true},
|
||||
{&ps_dlt, {.d = {{0.0, 1.0}}}, {{0xffffffff}}, true},
|
||||
{&ps_dlt, {.d = {{1.0, 1.0}}}, {{0x00000000}}, true},
|
||||
{&ps_dtou, {.d = {{ -NAN}}}, {{ 0, 0 }}, true, true},
|
||||
{&ps_dtou, {.d = {{ NAN}}}, {{ 0, 0 }}, true, true},
|
||||
{&ps_dtou, {.d = {{-INFINITY}}}, {{ 0, ~0u}}, true, true},
|
||||
{&ps_dtou, {.d = {{ INFINITY}}}, {{~0u, 0 }}, true, true},
|
||||
{&ps_dtou, {.d = {{ -1.0}}}, {{ 0, 1 }}, true, true},
|
||||
{&ps_dtou, {.d = {{ 1.0}}}, {{ 1, 0 }}, true, true},
|
||||
{&ps_dtou, {.d = {{ -NAN}}}, {{ 0, 0 }}, true},
|
||||
{&ps_dtou, {.d = {{ NAN}}}, {{ 0, 0 }}, true},
|
||||
{&ps_dtou, {.d = {{-INFINITY}}}, {{ 0, ~0u}}, true},
|
||||
{&ps_dtou, {.d = {{ INFINITY}}}, {{~0u, 0 }}, true},
|
||||
{&ps_dtou, {.d = {{ -1.0}}}, {{ 0, 1 }}, true},
|
||||
{&ps_dtou, {.d = {{ 1.0}}}, {{ 1, 0 }}, true},
|
||||
{&ps_dtoi, {.d = {{ 1.0}}}, {.i = {1, -1}}, true},
|
||||
{&ps_dtof, {.d = {{ 1.5}}}, {.f = {1.5f, -1.5f}}, true},
|
||||
{&ps_utod, {.u = {{3, 0xffffffff}}}, {.d = {3.0, 4294967295.0}}, true, true},
|
||||
|
Reference in New Issue
Block a user