Texture layout validation accepts multisampled BC formats #356
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#356
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Damokles2 on GitHub · 2026-11-27 21:21 UTC · original
I found a small CPU-reproducible texture layout validation issue in victory-formats.
Layout::new() currently accepts a 4×4 BC1_UNORM texture with four samples and SW_64KB_R_X, returning a 65,536-byte allocation.
Single-sample BC1 and four-sample RGBA8 both pass as expected.
D3D12 does not support multisampled BC1 resources.
I am investigating whether compressed formats should be explicitly rejected by the multisample layout validation.
Original VIctory PR Marvisak/VIctory#3385 changes the related swizzle validation but does not address this format combination.
Is anyone already working on this? If not, I would like to prepare a small correction with synthetic CPU regression tests.
AI-assisted with OpenAI Codex.
@trustno1-coder on GitHub · 2026-11-28 00:43 UTC · original
Thanks, that's a good catch. Go ahead: a small correction with CPU tests is welcome as a pull request.