This is an archive of the discontinued LLVM Phabricator instance.

[DX] [ObjectYAML] Support DX shader feature flags
ClosedPublic

Authored by beanz on Sep 20 2022, 2:32 PM.

Details

Summary

DXContainers contain a feature flag part, which stores a bitfield used
to denote what underlying hardware features the shader requires. This
change adds feature flags to the DXContainer YAML tooling to enable
testing generating feature flags during HLSL code generation.

Depends on D133980

Diff Detail

Event Timeline

beanz created this revision.Sep 20 2022, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2022, 2:32 PM
beanz requested review of this revision.Sep 20 2022, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2022, 2:32 PM
lhames accepted this revision.Sep 27 2022, 2:02 PM

LGTM.

This revision is now accepted and ready to land.Sep 27 2022, 2:02 PM
This revision was automatically updated to reflect the committed changes.