vkd3d: Workaround CBV bindless test.
DXC is bugged and does not emit the NonUniformResourceIndex qualifier in DXIL, and thus we expect this test to fail on AMD (it works just fine on NV though). Only check the first lane of the workgroup for correctness. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
c7af09c68c
commit
e21d077a04
|
@ -39158,6 +39158,12 @@ static void test_bindless_cbv(bool use_dxil)
|
|||
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
if (use_dxil && (i & 63) != 0)
|
||||
{
|
||||
/* DXC is bugged and does not emit NonUniformResourceIndex correctly for CBVs,
|
||||
so only check the first lane for correctness. */
|
||||
continue;
|
||||
}
|
||||
UINT value = get_readback_uint(&rb, i, 0, 0);
|
||||
UINT reference = i + 1;
|
||||
ok(value == reference, "Readback value for iteration %u is: %u\n", i, value);
|
||||
|
|
Loading…
Reference in New Issue