Skip to content

restore fallback behaviour for dx12 compiler#32

Merged
JMS55 merged 1 commit intoJMS55:wgpu24from
mockersf:fix-windows-ci
Feb 9, 2025
Merged

restore fallback behaviour for dx12 compiler#32
JMS55 merged 1 commit intoJMS55:wgpu24from
mockersf:fix-windows-ci

Conversation

@mockersf
Copy link
Copy Markdown

@mockersf mockersf commented Feb 9, 2025

Objective

  • Fix CI on Windows in DX12

Solution

  • Restore fallback behaviour of Dx12Compiler

Dx12Compiler::Dxc in wgpu 23 fallbacked to Dx12Compiler::Fxc when the dlls were not found. Restore that

@JMS55 JMS55 merged commit 53f1617 into JMS55:wgpu24 Feb 9, 2025
29 checks passed
@Elabajaba
Copy link
Copy Markdown

I'm personally against this (even though I implemented falling back to FXC from DXC in wgpu originally). Silently falling back to FXC breaks things without a clear reason why, and we should really be pushing users to not use FXC at all.

@mockersf
Copy link
Copy Markdown
Author

mockersf commented Feb 9, 2025

I'm ok with changing that, I've been trying the statically linked dxc and it seems to work well

this was the keep-behaving-the-same-as-before fix to do the wgpu update, let's talk about changing it in Bevy repo

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