[D3D12] Cleanup raw buffer view creation
This commit is contained in:
@@ -417,6 +417,10 @@ class RenderTargetCache {
|
||||
|
||||
// The EDRAM buffer allowing color and depth data to be reinterpreted.
|
||||
ID3D12Resource* edram_buffer_ = nullptr;
|
||||
// Two 10 MB pages, one containing color and integer depth data, another with
|
||||
// 32-bit float depth when 20e4 depth is used to allow for multipass drawing
|
||||
// without precision loss in case of EDRAM store/load.
|
||||
static constexpr uint32_t kEDRAMBufferSize = 2 * 2048 * 5120;
|
||||
D3D12_RESOURCE_STATES edram_buffer_state_;
|
||||
bool edram_buffer_cleared_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user