Repository navigation
Bump SM version to 6.10 - #7804
Merged
Joshua Batista (bob80905) merged 14 commits intoOct 10, 2025
Merged
Joshua Batista (bob80905) merged 14 commits into
Joshua Batista (bob80905) merged 14 commits into
Conversation
Contributor
|
✅ With the latest revision this PR passed the Python code formatter. |
Damyan Pepper (damyanp)
approved these changes
Oct 8, 2025
Damyan Pepper (damyanp)
approved these changes
Oct 9, 2025
Tex Riddell (tex3d)
left a comment
Contributor
There was a problem hiding this comment.
GetTargetVersionFromString duplicates ParseTargetProfile functionality but drops the stage string. Could we move ParseTargetProfile to DxilShaderModel.cpp and declare in DxilShaderModel.h, then use this instead? Also see recommended changes to ParseTargetProfile.
That would keep parsing in a single, more maintainable location. It could also be used to greatly simplify the ShaderModel::GetByName implementation as well (then I don't think we need as much code generation from hctdb_instrhelp.py).
I also recommended a different approach for updating hctdb_instrhelp.py.
| /* <py::lines('VALRULE-TEXT')>hctdb_instrhelp.get_target_profiles()</py>*/ | ||
| // VALRULE-TEXT:BEGIN | ||
| HelpText<"Set target profile. \n\t<profile>: ps_6_0, ps_6_1, ps_6_2, ps_6_3, ps_6_4, ps_6_5, ps_6_6, ps_6_7, ps_6_8, ps_6_9, ps_6_10, \n\t\t vs_6_0, vs_6_1, vs_6_2, vs_6_3, vs_6_4, vs_6_5, vs_6_6, vs_6_7, vs_6_8, vs_6_9, vs_6_10, \n\t\t gs_6_0, gs_6_1, gs_6_2, gs_6_3, gs_6_4, gs_6_5, gs_6_6, gs_6_7, gs_6_8, gs_6_9, gs_6_10, \n\t\t hs_6_0, hs_6_1, hs_6_2, hs_6_3, hs_6_4, hs_6_5, hs_6_6, hs_6_7, hs_6_8, hs_6_9, hs_6_10, \n\t\t ds_6_0, ds_6_1, ds_6_2, ds_6_3, ds_6_4, ds_6_5, ds_6_6, ds_6_7, ds_6_8, ds_6_9, ds_6_10, \n\t\t cs_6_0, cs_6_1, cs_6_2, cs_6_3, cs_6_4, cs_6_5, cs_6_6, cs_6_7, cs_6_8, cs_6_9, cs_6_10, \n\t\t lib_6_1, lib_6_2, lib_6_3, lib_6_4, lib_6_5, lib_6_6, lib_6_7, lib_6_8, lib_6_9, lib_6_10, \n\t\t ms_6_5, ms_6_6, ms_6_7, ms_6_8, ms_6_9, ms_6_10, \n\t\t as_6_5, as_6_6, as_6_7, as_6_8, as_6_9, as_6_10, \n\t\t ">; | ||
| HelpText<"Set target profile. \n\t<profile>: ps_(6, 0), ps_(6, 1), ps_(6, 2), ps_(6, 3), ps_(6, 4), ps_(6, 5), ps_(6, 6), ps_(6, 7), ps_(6, 8), ps_(6, 9), ps_(6, 10), \n\t\t vs_(6, 0), vs_(6, 1), vs_(6, 2), vs_(6, 3), vs_(6, 4), vs_(6, 5), vs_(6, 6), vs_(6, 7), vs_(6, 8), vs_(6, 9), vs_(6, 10), \n\t\t gs_(6, 0), gs_(6, 1), gs_(6, 2), gs_(6, 3), gs_(6, 4), gs_(6, 5), gs_(6, 6), gs_(6, 7), gs_(6, 8), gs_(6, 9), gs_(6, 10), \n\t\t hs_(6, 0), hs_(6, 1), hs_(6, 2), hs_(6, 3), hs_(6, 4), hs_(6, 5), hs_(6, 6), hs_(6, 7), hs_(6, 8), hs_(6, 9), hs_(6, 10), \n\t\t ds_(6, 0), ds_(6, 1), ds_(6, 2), ds_(6, 3), ds_(6, 4), ds_(6, 5), ds_(6, 6), ds_(6, 7), ds_(6, 8), ds_(6, 9), ds_(6, 10), \n\t\t cs_(6, 0), cs_(6, 1), cs_(6, 2), cs_(6, 3), cs_(6, 4), cs_(6, 5), cs_(6, 6), cs_(6, 7), cs_(6, 8), cs_(6, 9), cs_(6, 10), \n\t\t lib_(6, 1), lib_(6, 2), lib_(6, 3), lib_(6, 4), lib_(6, 5), lib_(6, 6), lib_(6, 7), lib_(6, 8), lib_(6, 9), lib_(6, 10), \n\t\t ms_(6, 5), ms_(6, 6), ms_(6, 7), ms_(6, 8), ms_(6, 9), ms_(6, 10), \n\t\t as_(6, 5), as_(6, 6), as_(6, 7), as_(6, 8), as_(6, 9), as_(6, 10), \n\t\t ">; |
There was a problem hiding this comment.
This isn't right is it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR focuses on bumping the max allowable targetable shader model version to 6.10, up from the previous max 6.9.
It mimics this one for 6.9: #7075
Fixes #7802