Remove UNSUPPORTED labels from tests that are supported - #1487
Conversation
| # Vulkan KosmicKrisp and MoltenVK the output is always False. | ||
| # UNSUPPORTED: Metal || KosmicKrisp || MoltenVK | ||
| # Note: For Vulkan KosmicKrisp and MoltenVK the output is always False. | ||
| # UNSUPPORTED: KosmicKrisp || MoltenVK |
There was a problem hiding this comment.
Should we make this an XFAIL? If Metal is supported, then this would imply vulkan om Mac might eventually start working?
There was a problem hiding this comment.
Maybe. I'm not set up to test either of these and we don't have them in CI, so I was uncomfortable changing them.
There was a problem hiding this comment.
I removed all the KosmicKrisp || MoltenVK for the boolean matrix test and ran on both vulkan implementation and this issue appears to be resolved.
There was a problem hiding this comment.
Full Results:
KosmicKrisp Clang
********************
Failed Tests (11):
OffloadTest-clang-vk :: Bugs/UAV-Sequental-Consistency.yaml
OffloadTest-clang-vk :: Feature/HLSLLib/select.32.test
OffloadTest-clang-vk :: Feature/HLSLLib/select.fp16.test
OffloadTest-clang-vk :: Feature/MaximalReconvergence/loop_peeling.test
OffloadTest-clang-vk :: Feature/ResourcesInStructs/res-of-matrix-in-struct.test
OffloadTest-clang-vk :: Feature/Textures/Array.CalculateLevelOfDetail.test
OffloadTest-clang-vk :: Feature/Textures/CalculateLevelOfDetail.test
OffloadTest-clang-vk :: Feature/TypedBuffer/64bit-scalar.test
OffloadTest-clang-vk :: Tools/Offloader/BufferFormats.test
OffloadTest-clang-vk :: WaveOps/WaveActiveBitXor.int.test
OffloadTest-clang-vk :: WaveOps/WaveActiveBitXor.int64.test
********************
Unexpectedly Passed Tests (2):
OffloadTest-clang-vk :: Feature/HLSLLib/abs.long-vector.32.test
OffloadTest-clang-vk :: WaveOps/GroupMemoryBarrierWithGroupSync.test
KosmicKrisp DXC
********************
Failed Tests (20):
OffloadTest-vk :: Bugs/UAV-Sequental-Consistency.yaml
OffloadTest-vk :: Feature/MaximalReconvergence/loop_peeling.test
OffloadTest-vk :: Feature/ResourceArrays/overflow-unbounded-array.test
OffloadTest-vk :: Feature/Semantics/CullDistance.test
OffloadTest-vk :: Feature/Semantics/DomainSystemValues.test
OffloadTest-vk :: Feature/Semantics/HullSystemValues.test
OffloadTest-vk :: Feature/Textures/Array.CalculateLevelOfDetail.test
OffloadTest-vk :: Feature/Textures/CalculateLevelOfDetail.test
OffloadTest-vk :: Feature/TypedBuffer/64bit-scalar.test
OffloadTest-vk :: Feature/Vk.SampledTextures/Vk.SampledTexture2D/Vk.SampledTexture2D.CalculateLevelOfDetail.test.yaml
OffloadTest-vk :: Graphics/IsolineDomainTessellation.test
OffloadTest-vk :: Graphics/QuadDomainTessellation.test
OffloadTest-vk :: Graphics/gs_point_to_quad.test
OffloadTest-vk :: Graphics/gs_selective_output.test
OffloadTest-vk :: Tools/Offloader/BufferFormats.test
OffloadTest-vk :: WaveOps/WaveActiveBitAnd.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitOr.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitXor.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitXor.int.test
OffloadTest-vk :: WaveOps/WaveActiveBitXor.int64.test
MoltenVK Clang
********************
Failed Tests (20):
OffloadTest-clang-vk :: Bugs/UAV-Sequental-Consistency.yaml
OffloadTest-clang-vk :: Feature/HLSLLib/select.32.test
OffloadTest-clang-vk :: Feature/HLSLLib/select.fp16.test
OffloadTest-clang-vk :: Feature/MaximalReconvergence/loop_peeling.test
OffloadTest-clang-vk :: Feature/ResourcesInStructs/res-of-matrix-in-struct.test
OffloadTest-clang-vk :: Feature/Textures/Array.GatherCmp.test
OffloadTest-clang-vk :: Feature/Textures/Array.SampleBias.test
OffloadTest-clang-vk :: Feature/Textures/Array.SampleCmp.test
OffloadTest-clang-vk :: Feature/Textures/GatherCmp.test
OffloadTest-clang-vk :: Feature/Textures/Sample.test
OffloadTest-clang-vk :: Feature/Textures/SampleBias.test
OffloadTest-clang-vk :: Feature/Textures/SampleCmp.test
OffloadTest-clang-vk :: Feature/TypedBuffer/64bit-scalar.test
OffloadTest-clang-vk :: Tools/Offloader/BufferFormats.test
OffloadTest-clang-vk :: WaveOps/QuadReadAcrossDiagonal.int64.test
OffloadTest-clang-vk :: WaveOps/QuadReadAcrossX.int64.test
OffloadTest-clang-vk :: WaveOps/QuadReadAcrossY.int64.test
OffloadTest-clang-vk :: WaveOps/WaveActiveBitAnd.int64.test
OffloadTest-clang-vk :: WaveOps/WaveActiveBitOr.int64.test
OffloadTest-clang-vk :: WaveOps/WaveActiveBitXor.int64.test
********************
Unexpectedly Passed Tests (1):
OffloadTest-clang-vk :: Feature/HLSLLib/abs.long-vector.32.test
MoltenVK DXC
Failed Tests (24):
OffloadTest-vk :: Bugs/UAV-Sequental-Consistency.yaml
OffloadTest-vk :: Feature/CBuffer/arrays-16bit.test
OffloadTest-vk :: Feature/ConstantBufferT/nested.test
OffloadTest-vk :: Feature/MaximalReconvergence/loop_peeling.test
OffloadTest-vk :: Feature/Semantics/CullDistance.test
OffloadTest-vk :: Feature/TypedBuffer/64bit-scalar.test
OffloadTest-vk :: Graphics/IsolineDomainTessellation.test
OffloadTest-vk :: Graphics/gs_point_to_quad.test
OffloadTest-vk :: Graphics/gs_selective_output.test
OffloadTest-vk :: Tools/Offloader/BufferFormats.test
OffloadTest-vk :: WaveOps/QuadReadAcrossDiagonal.int64.test
OffloadTest-vk :: WaveOps/QuadReadAcrossX.int64.test
OffloadTest-vk :: WaveOps/QuadReadAcrossY.int64.test
OffloadTest-vk :: WaveOps/WaveActiveAllEqual.int64.test
OffloadTest-vk :: WaveOps/WaveActiveBitAnd.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitAnd.int64.test
OffloadTest-vk :: WaveOps/WaveActiveBitOr.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitOr.int64.test
OffloadTest-vk :: WaveOps/WaveActiveBitXor.convergence.test
OffloadTest-vk :: WaveOps/WaveActiveBitXor.int64.test
OffloadTest-vk :: WaveOps/WavePrefixProduct.int64.test
OffloadTest-vk :: WaveOps/WavePrefixSum.32.test
OffloadTest-vk :: WaveOps/WavePrefixSum.fp16.test
OffloadTest-vk :: WaveOps/WavePrefixSum.int64.test
********************
Unexpectedly Passed Tests (3):
OffloadTest-vk :: Feature/HLSLLib/cos.nan-inf-denorm.32.test
OffloadTest-vk :: Feature/HLSLLib/sin.nan-inf-denorm.32.test
OffloadTest-vk :: WaveOps/WaveActiveSum.int16.test
|
|
||
| # UNSUPPORTED: Clang && Vulkan | ||
| # Clang-Vulkan is unsupported because of two validation errors | ||
| # This issue tracks its resolution: https://github.com/llvm/offload-test-suite/issues/285 |
There was a problem hiding this comment.
This issue is closed as not planned if support was added is that incorrect?
There was a problem hiding this comment.
I changed it to closed as completed - the issue really didn't have enough information to determine what fixed it and I usually don't close things as completed unless I can verify that. It does seem that whatever was wrong is fixed now though, so sure.
| # 16/64 bit firstbithigh doesn't have a DXC-Vulkan lowering | ||
| # Unsupported https://github.com/microsoft/DirectXShaderCompiler/blob/main/tools/clang/test/CodeGenSPIRV/intrinsics.firstbitlow.64bit.hlsl | ||
| # UNSUPPORTED: DXC && Vulkan | ||
| # XFAIL: DXC && Vulkan |
There was a problem hiding this comment.
Should you add the DXC issue tracking this work here in a comment?
There was a problem hiding this comment.
I pointed all of these at microsoft/DirectXShaderCompiler#8536, which technically only mentions 1 of the 4 cases but it seems like a reasonable enough place to track all 4.
|
|
||
| # DXC + Vulkan does not support multi-dimensional resource arrays | ||
| # UNSUPPORTED: DXC && Vulkan | ||
| # XFAIL: DXC && Vulkan |
There was a problem hiding this comment.
I think if we are going to call these xfails now instead of unsupported we need an issue linked. If DXC was never going to get this feature, then unsupported seems to make more sense.
There was a problem hiding this comment.
I do think if somebody implemented this we'd accept the patch, but unless someone comes along actually needing it I don't think it's worth filing an issue about. I've put it back to UNSUPPORTED.
|
|
||
| # DXC + Vulkan does not support global structures containing buffers. | ||
| # UNSUPPORTED: DXC && Vulkan | ||
| # XFAIL: DXC && Vulkan |
There was a problem hiding this comment.
Same comment I think if we are going to call these xfails now instead of unsupported we need an issue linked. If DXC was never going to get this feature, then unsupported seems to make more sense.
There was a problem hiding this comment.
Same thing here - moved it back to UNSUPPORTED.
|
There are two new test failures that I need to track down or file issues for:
|
These all should be XFAILs, but they were marked as unsupported. Many of these pass now, so in those cases I've just removed them. There are two more interesting cases: - `countbits.16` had a mistake in the test and is failing for clang. I filed llvm/llvm-project#219327 to track the clang failure. - `SwitchBranchAttr` and `SwitchFlattenAttr` had the attribute in the wrong place and weren't actually testing what they said they were.
These don't have issues to associate with the XFAILs and we're extremely unlikely to prioritize the work, so UNSUPPORTED is probably more appropriate.
d0fee48 to
988e45f
Compare
bogner
left a comment
There was a problem hiding this comment.
These tests pass on KosmicKrisp and MoltenVK
Co-authored-by: Justin Bogner <mail@justinbogner.com>
|
Test failures are all unrelated matrix max/min tests that have been resolved upstream |
These all should be XFAILs, but they were marked as unsupported. Many of these pass now, so in those cases I've just removed them. There are two more interesting cases: - `countbits.16` had a mistake in the test and is failing for clang. I filed llvm/llvm-project#219327 to track the clang failure. - `SwitchBranchAttr` and `SwitchFlattenAttr` had the attribute in the wrong place and weren't actually testing what they said they were.
These all should be XFAILs, but they were marked as unsupported. Many of these pass now, so in those cases I've just removed them.
There are two more interesting cases:
countbits.16had a mistake in the test and is failing for clang. I filed [DirectX][Scalarizer] Failure to legalizer cast via vector for 16-bitcountbitsllvm-project#219327 to track the clang failure.SwitchBranchAttrandSwitchFlattenAttrhad the attribute in the wrong place and weren't actually testing what they said they were.