GPU: recover typeless view formats, avoid caching failed placed textures, and bind initial PSO #1353
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1353
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1353/head"
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?
@wbkepler on GitHub · 2026-11-24 17:35 UTC · original
wbkepler:gpu/typeless-views-and-initial-pso→main· +433 −12 · 5 files · 1 commits · closed without mergingSummary
NoneorDXGI_FORMAT_UNKNOWNviews on typeless-promoted depth and sRGB+UAV textures (descriptor/host.rs,resource.rs:default_srv_desc,default_uav_desc,depth_srv_format,linear_format, null-safeview_format).resource(out).host.is_none()inresource::texture_at()and releasesoutbefore caching inPLACED_TEXTURES, preventing failedtexture_atcalls from leaking or caching broken entries.pipelinefromcreate_list()/create_list_x()intonew_list(), bindingpipeline::bound(pipeline)when non-null and initializingstate.reset(pipeline)(list.rs,draw.rs,pipeline.rs).typeless_promoted_textures_accept_default_views,failed_texture_at_is_not_cached_or_leaked,create_list_binds_initial_pipeline).Verification
cargo clippy -p victory-gpu --all-targets -- -D warnings— passedcargo clippy -p victory --features diagnostics --all-targets -- -D warnings— passedcargo test -p victory-gpu— passed (53 passed, 1 ignored)VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_WARP=1on the 3 new tests — passedcargo xtask policy— passed (154 files ok)@wbkepler on GitHub · 2026-11-24 21:39 UTC · original
Closing this in favour of the community PRs that together cover all three items, more completely:
UNKNOWNSRV/UAV on typeless-promoted textures): #1406, which also fixes VIC-BT-012 (null-desc RTV/DSV dimensions).create_listinitial pipeline state): #1446.texture_atnot cached/leaked): #1422, which also fixes VIC-BT-022 (clear value on non-target textures).Review notes comparing them with this branch are on each of those PRs.
AI-assisted (Claude Code).
Pull request closed