-
Notifications
You must be signed in to change notification settings - Fork 137
-
Notifications
You must be signed in to change notification settings - Fork 137
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
D3D12 Validation error on mipmap generation #125
Comments
This is a known issue and needs a larger refactor in the D3D12 backend for resource state transitioning. Unfortunately, this type of resource transitioning for Mip generation is implemented this way even in Microsoft's MiniEngine example: What we can do in the short term is to silence this validation notification until the resource state transitioning is more precise, i.e. works on a per-subresource level rather than a per-resource level. I assume that would be |
I get this validation error after the
CreateTexture
method call when the texture has theGenerateMips
flag.The error occurs after the
Dispatch
method call here:LLGL/sources/Renderer/Direct3D12/Texture/D3D12MipGenerator.cpp
Lines 282 to 286 in 2232eb6
P.S.
Here's the texture descriptor:
The text was updated successfully, but these errors were encountered: