mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 00:32:53 +00:00
VideoBackends: fix d3d12 subresource calculation
This commit is contained in:
parent
8efd7833e5
commit
0e1ffe009a
@ -37,7 +37,7 @@ public:
|
||||
const DescriptorHandle& GetSRVDescriptor() const { return m_srv_descriptor; }
|
||||
const DescriptorHandle& GetUAVDescriptor() const { return m_uav_descriptor; }
|
||||
D3D12_RESOURCE_STATES GetState() const { return m_state; }
|
||||
u32 CalcSubresource(u32 level, u32 layer) const { return level + layer * m_config.layers; }
|
||||
u32 CalcSubresource(u32 level, u32 layer) const { return level + layer * m_config.levels; }
|
||||
|
||||
void TransitionToState(D3D12_RESOURCE_STATES state) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user