[SM6.10] DXIL opcodes for ClusterID and TriangleObjectPositions
- DXIL opcode definitions
- DXIL validation tests showing correct uses pass
SM6.10 tracking bug: #7824
Hey Simon!
We've actually been talking about DXIL op stuff internally that this PR is going to fall under. Specially we want a better system to mark ops as experimental before they are upgraded to stable!
I have a proposal up (https://github.com/microsoft/hlsl-specs/pull/698) but due to scheduling conflicts we aren't going to be able to make a final decision until ~Nov 4th.
Since the decision there has impacts on this PR we are holding off on the review for just a little bit. I wanted to give you a heads up so you weren't surprised by the silence from our side
https://github.com/microsoft/hlsl-specs/pull/729
The proposal is up here, once the implementation lands the ops here will need to be renumbered. I suspect the implementation will land quite quickly
Spec has been merged! I'm on vacation the next few weeks but @tex3d should be uploading the infrastructure change soon. Then this can be rebased on that
Spec has been merged! I'm on vacation the next few weeks but @tex3d should be uploading the infrastructure change soon. Then this can be rebased on that
@tex3d What's the status of the experimental opcode infra change to unblock this PR?
@tex3d What's the status of the experimental opcode infra change to unblock this PR?
I'm trying to get a second review on this: #7947. Once merged, you can update the branch and move the intrinsic definitions in hctdb.py into experimental and update any references to the opcode numbers that changed.
I believe we'll also want to reserve high-level intrinsic IDs for these ASAP. It might be good to do this in the same PR, but a separate PR for that would be ok too.
That means updates to gen_intrin_main.txt, generated files, as well as manually adding EmptyLower entries for gLowerTable in HLOperationLower.cpp for each new high-level intrinsic operation.
This could serve as a good example for how to reserve HLSL intrinsics and DXIL opcodes for a feature before it's implemented, using the new experimental DXIL op table.
I've created a PR to reserve HL and DXIL ops for these operations here: #7995.
So, you should be able to re-apply just the changes necessary on top of main when that PR merges.
Thanks @tex3d. I'll rebase when #7995 lands