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

Texture write misalignment #23

Closed
adepke opened this issue Jan 18, 2021 · 0 comments
Closed

Texture write misalignment #23

adepke opened this issue Jan 18, 2021 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@adepke
Copy link
Owner

adepke commented Jan 18, 2021

When writing to a texture, the source placed footprint resource (upload buffer) needs to be aligned to D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT. This is normally the case, since power of two textures are commonly added, however if a buffer with static frequency is written to that isn't aligned to 512 bytes, it will cause the next texture write to be misaligned and throw an error.

@adepke adepke added the bug Something isn't working label Jan 18, 2021
@adepke adepke added this to To Do in Roadmap via automation Jan 18, 2021
@adepke adepke moved this from To Do to In Progress in Roadmap Jan 18, 2021
@adepke adepke closed this as completed in c71423f Jan 18, 2021
Roadmap automation moved this from In Progress to Completed Jan 18, 2021
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
Roadmap
Completed
Development

No branches or pull requests

1 participant