Skip to content

Validator/Dxil version error improvements (#3623)#3627

Merged
tex3d merged 1 commit intomicrosoft:release-1.6.2104from
tex3d:val-version-error-rel
Mar 26, 2021
Merged

Validator/Dxil version error improvements (#3623)#3627
tex3d merged 1 commit intomicrosoft:release-1.6.2104from
tex3d:val-version-error-rel

Conversation

@tex3d
Copy link
Copy Markdown
Contributor

@tex3d tex3d commented Mar 25, 2021

  • Move validator/dxil version checks up-front
    These should fail first rather than side effects of trying to validate
    details of a version we don't support.
  • Improve message for unsupported validator or dxil version
    These errors are most likely if compiling separately from validation
    and failing to override the validator version properly, or running on
    an external validator that doesn't support a newer dxil.
  • Use dxil version from metadata for DxilModule when loading,
    rather than just setting it to minimum based on shader model.
  • Remove TODO from validator messages that shouldn't be there

(cherry picked from commit 6244ab8)

- Move validator/dxil version checks up-front
  These should fail first rather than side effects of trying to validate
  details of a version we don't support.
- Improve message for unsupported validator or dxil version
  These errors are most likely if compiling separately from validation
  and failing to override the validator version properly, or running on
  an external validator that doesn't support a newer dxil.
- Use dxil version from metadata for DxilModule when loading,
  rather than just setting it to minimum based on shader model.
- Remove TODO from validator messages that shouldn't be there

(cherry picked from commit 6244ab8)
@tex3d tex3d requested a review from pow2clk March 25, 2021 22:34
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:rubberstamp:

@AppVeyorBot
Copy link
Copy Markdown

@tex3d tex3d merged commit feef2ff into microsoft:release-1.6.2104 Mar 26, 2021
@tex3d tex3d deleted the val-version-error-rel branch March 26, 2021 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants