Repository navigation
Conversation
Co-authored-by: damyanp <[email protected]>
Co-authored-by: damyanp <[email protected]>
Co-authored-by: damyanp <[email protected]>
…s and commit hashes Co-authored-by: damyanp <[email protected]>
Copilot
AI
changed the title
[WIP] Add documentation for DXIL versioning usage
Document DXIL versioning system comprehensively
Jan 16, 2026
damyanp
pushed a commit
that referenced
this pull request
Feb 20, 2026
…d()` and `.Gather()` methods for `vk::SampledTexture2D` type. (microsoft#8070) Part of microsoft#7979 Implement methods for `vk::SampledTexture2D`: ```hlsl float CalculateLevelOfDetailUnclamped(float2 location); <Template Type>4 Gather(float2 location, [int2 offset], [uint status]); ```
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.
Created comprehensive reference documentation for DXIL versioning mechanisms across the DirectXShaderCompiler codebase. The existing system has multiple versioning layers (DXIL, shader model, container, PSV, validator) scattered across different files with no central documentation.
Documentation Coverage
Version Constant Definitions:
kDxilMajor,kDxilMinorinDxilConstants.h)kHighestMajor,kHighestMinorinDxilShaderModel.h)DxilContainerVersionMajor/MinorinDxilContainer.h)MAX_PSV_VERSIONinDxilPipelineStateValidation.h)Metadata Formats:
dx.version- DXIL version metadata format and usagedx.shaderModel- Shader model metadata formatdx.valver- Minimum validator version requirementsVersion Generation:
gen_version.py- Compiler version generation from git (official/dev/fixed builds)hctdb_instrhelp.py- Database-driven code generation for version constantsMappings and Validation:
Timeline:
Files Added
docs/DxilVersioning.md- 535-line reference document with table of contents, code examples, and organized source file referencesOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.