Skip to content

Add DirectX ShaderModel 6.1-6.7 detection#5498

Merged
teoxoy merged 4 commits intogfx-rs:trunkfrom
atlv24:dx-sm-6-6
Apr 6, 2024
Merged

Add DirectX ShaderModel 6.1-6.7 detection#5498
teoxoy merged 4 commits intogfx-rs:trunkfrom
atlv24:dx-sm-6-6

Conversation

@atlv24
Copy link
Copy Markdown
Collaborator

@atlv24 atlv24 commented Apr 5, 2024

Connections
For #5383

Description
ShaderModel detection is hardcoded to just map Dxc => 6.0 and Fxc => 5.1. This means higher shader models are never detected.

Testing
Not tested explicitly but works in the context of #5383

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@atlv24 atlv24 requested a review from a team April 5, 2024 05:11
@atlv24 atlv24 requested a review from a team as a code owner April 5, 2024 05:11
@atlv24 atlv24 mentioned this pull request Apr 5, 2024
6 tasks
@atlv24 atlv24 requested a review from teoxoy April 6, 2024 00:53
Copy link
Copy Markdown
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Looks good!

@teoxoy teoxoy merged commit 911baf3 into gfx-rs:trunk Apr 6, 2024
@atlv24 atlv24 deleted the dx-sm-6-6 branch June 29, 2025 21:45
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.

2 participants