Upload D3D12 field resources
This commit is contained in:
parent
4b0bf997f4
commit
f32772c052
11 changed files with 456 additions and 3 deletions
|
|
@ -36,6 +36,10 @@ resource graph beyond smoke-pass scaffolding.
|
|||
up-facing gravity quad per body. The target is scalar `R16_Float`: height is
|
||||
one value, and the format still supports the additive render-target blending
|
||||
the brush pass needs. Mode `11` exposes it.
|
||||
- D3D12 uploads the live froxel primitive table and field instance table into
|
||||
default-heap structured buffers each frame, using the upload ring only as the
|
||||
copy source. Their SRVs are created in the transient descriptor heap used by
|
||||
the consuming pass, avoiding impossible static+transient heap co-binding.
|
||||
- Renderer calls receive current window dimensions, and the D3D12 backend can
|
||||
recreate swapchain buffers plus dependent smoke resources on resize.
|
||||
- Resize waits for the GPU, disposes swapchain-dependent targets, rebuilds
|
||||
|
|
@ -63,6 +67,9 @@ resource graph beyond smoke-pass scaffolding.
|
|||
- The offscreen smoke target copies to the swapchain. Keep this only if the real
|
||||
post-process graph needs it; otherwise present from the final render target
|
||||
path with no ornamental copy.
|
||||
- The D3D11 and D3D12 field table builders are temporarily duplicated. Extract
|
||||
them into one shared field ABI owner before the second backend starts to
|
||||
drift.
|
||||
|
||||
## Required Before Real Pass Migration
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue