Commit 5426001
committed
graphics: transition font atlas back to ShaderResource after UpdateSubResource
Mirrors 4ca5734 (lightClusters). UpdateSubResource leaves the atlas
in CopyDest; with auto-transitions removed in 21741f8, the next
sprite-batch sample reads a CopyDest-state texture. On D3D12 with
Enhanced Barriers this doesn't trip a hard validation error — just
returns undefined content — so glyphs uploaded later in the frame (CJK
rows in TestDynamicSpriteFontVarious) render blank.1 parent 66b29bd commit 5426001
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
| |||
0 commit comments