1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-29 04:06:24 +01:00

[d3d11] Store context state ID buffers as private refs

This commit is contained in:
Joshua Ashton 2022-09-16 10:03:50 +00:00 committed by Philip Rebohle
parent ca38cebe0b
commit b40935a48d

View File

@ -232,8 +232,8 @@ namespace dxvk {
* argument and draw count buffer. * argument and draw count buffer.
*/ */
struct D3D11ContextStateID { struct D3D11ContextStateID {
Com<D3D11Buffer> argBuffer = nullptr; Com<D3D11Buffer, false> argBuffer = nullptr;
Com<D3D11Buffer> cntBuffer = nullptr; Com<D3D11Buffer, false> cntBuffer = nullptr;
void reset() { void reset() {
argBuffer = nullptr; argBuffer = nullptr;