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

Mismatch between pixel shader output and render target view format #37

Open
3Shain opened this issue Oct 14, 2024 · 0 comments
Open

Mismatch between pixel shader output and render target view format #37

3Shain opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@3Shain
Copy link
Owner

3Shain commented Oct 14, 2024

In Cities Skylines II, a pass-through pixel shader writes 4-component float value but the corresponding render target is with format of R8_UINT (verified by apitrace). I have no idea what the intention is, but Metal certainly doesn't like it: Failed to create PSO: output of type float4 is not compatible with a MTLPixelFormatR8Uint color attachment.

@3Shain 3Shain added the bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant