Skip to content

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

Merged
walbourn merged 7 commits intomainfrom
dxilhv2021
Aug 31, 2024
Merged

Use -HV 2021 for DXC on PC when available#247
walbourn merged 7 commits intomainfrom
dxilhv2021

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
@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