Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use -HV 2021 for DXC on PC when available #247

Merged
merged 7 commits into from
Aug 31, 2024
Merged

Use -HV 2021 for DXC on PC when available #247

merged 7 commits into from
Aug 31, 2024

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Aug 30, 2024

We were already using HLSL 2021 for Xbox GDK scenarios. This PR opts-in for HLSL 2021 when building for PC except on known versions of DXC.EXE that don't support it.

Updates the CompileShaders batch to use LegacyShaderCompiler environment variable if defined for older shader scenarios, and updates the CMake to set it based on find_program logic.

Also updated YAML pipeline triggers to include changes to shader command script.

@walbourn walbourn self-assigned this Aug 30, 2024
@walbourn walbourn merged commit b7680be into main Aug 31, 2024
73 checks passed
@walbourn walbourn deleted the dxilhv2021 branch August 31, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants