vkd3d-shader: Implement DGE 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:
Conor McCarthy
2021-08-04 12:56:08 +10:00
committed by Alexandre Julliard
parent f21510a9fc
commit df60cffef1
5 changed files with 9 additions and 3 deletions

View File

@@ -9944,9 +9944,9 @@ static void test_shader_instructions(void)
{&ps_deq, {.d = {{1.0, 0.0}}}, {{0x00000000}}, true},
{&ps_dne, {.d = {{0.0, 0.0}}}, {{0x00000000}}, true, true},
{&ps_dne, {.d = {{1.0, 0.0}}}, {{0xffffffff}}, true, true},
{&ps_dge, {.d = {{0.0, 1.0}}}, {{0x00000000}}, true, true},
{&ps_dge, {.d = {{1.0, 1.0}}}, {{0xffffffff}}, true, true},
{&ps_dge, {.d = {{1.5, 1.0}}}, {{0xffffffff}}, true, true},
{&ps_dge, {.d = {{0.0, 1.0}}}, {{0x00000000}}, true},
{&ps_dge, {.d = {{1.0, 1.0}}}, {{0xffffffff}}, true},
{&ps_dge, {.d = {{1.5, 1.0}}}, {{0xffffffff}}, true},
{&ps_dlt, {.d = {{0.0, 1.0}}}, {{0xffffffff}}, true, true},
{&ps_dlt, {.d = {{1.0, 1.0}}}, {{0x00000000}}, true, true},
{&ps_dtou, {.d = {{ -NAN}}}, {{ 0, 0 }}, true, true},