[Mesa-dev] [Bug 109249] vkd3d test failures related to ordered/unordered comparisons in test_shader_instructions()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 8 17:12:35 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109249
Bug ID: 109249
Summary: vkd3d test failures related to ordered/unordered
comparisons in test_shader_instructions()
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/Common
Assignee: mesa-dev at lists.freedesktop.org
Reporter: joseph.kucia at gmail.com
CC: airlied at freedesktop.org, chadversary at chromium.org,
daniel at fooishbar.org, jason at jlekstrand.net
Radv and Anv are affected. Nir optimizations appear to flip ordered/unordered
comparisons. Removing ~inot optimization from
https://gitlab.freedesktop.org/mesa/mesa/blob/add5a2ec92f4b3f7ac8353e5986dc04186a7b6da/src/compiler/nir/nir_opt_algebraic.py#L160
fixes the vkd3d test failures.
See https://lists.freedesktop.org/archives/mesa-dev/2018-December/210780.html
for a related discussion.
The problem produces the following test failures on Anv:
d3d12:8258:31:if_return: Test failed: Got {0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00} at (0, 0).
d3d12:8258:41:if_return: Test failed: Got {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 1.00000000e+00} at (0, 0).
d3d12:8258:48:if_return: Test failed: Got {0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 1.00000000e+00} at (0, 0).
and the following test failures on Radv:
d3d12:8258:31:if_return: Test failed: Got {0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00} at (0, 0).
d3d12:8258:34:if_return: Test failed: Got {1.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 0.00000000e+00} at (0, 0).
d3d12:8258:37:if_return: Test failed: Got {1.00000000e+00, 1.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 0.00000000e+00} at (0, 0).
d3d12:8258:41:if_return: Test failed: Got {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 1.00000000e+00} at (0, 0).
d3d12:8258:48:if_return: Test failed: Got {0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00}, expected {1.00000000e+00, 1.00000000e+00,
1.00000000e+00, 1.00000000e+00} at (0, 0).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190108/fe933304/attachment.html>
More information about the mesa-dev
mailing list