-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DXIL 1.8 op code cap and move WaveMatrix intrisics to SM 6.9 #6163
Conversation
Ironically, the failures reveal success. The shaders that were targeting earlier shader models are failing. It would be nice to have a simple test that verifies those failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for the quick work!
tools/clang/test/HLSLFileCheck/hlsl/objects/WaveMatrix/lit.local.cfg
Outdated
Show resolved
Hide resolved
I changed the description from "fixes" to "contributes to" in order to keep the bug open since we'd still like a test for the original failure of allowing these in earlier shader models. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Hi! Is there any possible way to test the new DirectXShaderCompiler/lib/DXIL/DxilShaderModel.cpp Lines 300 to 314 in ef043e9
Is this intended to be reenabled for testing at some point? It is blocking us from upgrading DXC as we have experimental shaders with EDITThe bump apparently already happened in 15fe220 (and #6465 probably relies on it?) for the mesh-node preview branch. That release indeed accepts the Unfortunately it doesn't help us much because one particular reason to upgrade the compiler is to revert our workaround that was addressed with the closing of #6173 / #6087. |
Sorry @MarijnS95, WaveMatrix support is getting removed in #6807. |
Just to clarify something here. The |
@hekota thanks for the update, but is there anywhere I can read up on what this is about? Are the ops deprecated and will they be replaced by a different spec in the future, or just out of scope for DXC at the time?
@llvm-beanz thanks for poinging that out, looks like it was a red herring because the file was only temporarily introduced in this PR. The thing making sure that the tests don't run at all with the unsupported |
AFAIK the ops are marked reserved. I am not sure if they would be reused in the future or stay reserved forever. @damyanp? |
It's unclear what the exact future here is at the moment. However, I would strongly advise against making any assumptions about the meaning of these opcodes being stable. |
@damyanp thanks, I'm not specifically looking at these opcodes but more about the |
I can't speak for the GPU vendors and their plans for supporting this experimental feature that was never released. We are continuing to look into possible future features that support the scenarios and hardware that WaveMatrix was intended for, but I would be very surprised if whatever we end up with allows these experimental shaders to continue working without modification. |
Adds max opcode value for DXIL 1.8 and moves WaveMatrix intrinsics into future shader model 6.9.
Contributes to #6133
Related to #6125