GPU: recover typeless view formats, avoid caching failed placed textures, and bind initial PSO #1353
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1353"
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?
Imported from Marvisak/VIctory. Originally posted by wbkepler on 2026-11-24T17:35:09Z.
Summary
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)Imported from Marvisak/VIctory. Originally posted by wbkepler on 2026-11-24T21:39:07Z.
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).
upstream-sync referenced this pull request2026-11-25 04:06:53 +00:00
upstream-sync referenced this pull request2026-11-25 14:07:18 +00:00
upstream-sync referenced this pull request2026-11-25 17:05:11 +00:00
Pull request closed