tests: Check that derivatives are still computed after discarding.
A couple of follow-ups to !774 (merged).
Merge request reports
Activity
I can see that the generates shaders have
OpKill
orOpDemoteToHelperInvocationEXT
depending on whether they're on the Vulkan or D3D12 runner, but in practice the effect seems to be the same on all the drivers I tested. It doesn't look like that the SPIR-V specs tells a lot about what is ought to happen when derivatives are computer afterOpKill
, so I assume it's unspecified and drivers treat that asOpDemoteToHelperInvocationEXT
anyway.
I can see that the generates shaders have
OpKill
orOpDemoteToHelperInvocationEXT
depending on whether they're on the Vulkan or D3D12 runner, but in practice the effect seems to be the same on all the drivers I tested. It doesn't look like that the SPIR-V specs tells a lot about what is ought to happen when derivatives are computer afterOpKill
, so I assume it's unspecified and drivers treat that asOpDemoteToHelperInvocationEXT
anyway.I suppose, which is perhaps unfortunate. We should probably enable the extension in any case for the Vulkan runner to get defined behaviour though.
added 1 commit
- 21a58747 - tests/shader-runner: Use OpDemoteToHelperInvocationEXT when available.
The Win32 test failure here looks like the random one fixed by !782 (merged).
added 53 commits
-
21a58747...e17e4811 - 50 commits from branch
wine:master
- 2d4bf8a4 - tests: Avoid using a different UAV for SM<6 and SM>=6.
- 5d19a7c7 - tests: Check that derivatives are still computed after discarding.
- c318dd04 - tests/shader-runner: Use OpDemoteToHelperInvocationEXT when available.
Toggle commit list-
21a58747...e17e4811 - 50 commits from branch
added 9 commits
-
c318dd04...296edf0d - 6 commits from branch
wine:master
- 12c457b4 - tests: Avoid using a different UAV for SM<6 and SM>=6.
- 7196484e - tests: Check that derivatives are still computed after discarding.
- dbe3c00a - tests/shader-runner: Use OpDemoteToHelperInvocationEXT when available.
Toggle commit list-
c318dd04...296edf0d - 6 commits from branch