[PATCH vkd3d 5/9] tests: Add a test for 5-bit masking of shader bit shift operands.

Conor McCarthy cmccarthy at codeweavers.com
Tue Sep 28 00:38:14 CDT 2021


Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
---
 tests/d3d12.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index 6c435ac0..86a295a9 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -9881,6 +9881,8 @@ static void test_shader_instructions(void)
                    {{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}}},
         {&ps_ishl, {{{0xfefefefe, 0x0fefefef, 0x0f0f0f0f, 0x12345678}, {~0x1fu, 0, 32, 64}}},
                    {{0xfefefefe, 0x0fefefef, 0x0f0f0f0f, 0x12345678}}},
+        {&ps_ishl, {{{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, {   33, 34, 65, 66}}},
+                   {{0xfffffffe, 0xfffffffc, 0xfffffffe, 0xfffffffc}}},
         {&ps_ishl, {{{0x00000000, 0x00000000, 0x00000000, 0x00000000}, {    31, 7, 15, 11}}},
                    {{0x00000000, 0x00000000, 0x00000000, 0x00000000}}},
         {&ps_ishl, {{{0x80000000, 0x80000000, 0x80000000, 0x80000000}, {    31, 7, 15, 11}}},
-- 
2.32.0




More information about the wine-devel mailing list