mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Move most backend functionality to VideoCommon
This commit is contained in:
parent
933f3ba008
commit
f039149198
182 changed files with 8334 additions and 15917 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "VideoBackends/D3D/BoundingBox.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "VideoBackends/D3D/D3DState.h"
|
||||
#include "VideoCommon/VideoConfig.h"
|
||||
|
||||
namespace DX11
|
||||
|
@ -54,6 +55,7 @@ void BBox::Init()
|
|||
hr = D3D::device->CreateUnorderedAccessView(s_bbox_buffer, &UAVdesc, &s_bbox_uav);
|
||||
CHECK(SUCCEEDED(hr), "Create BoundingBox UAV.");
|
||||
D3D::SetDebugObjectName(s_bbox_uav, "BoundingBox UAV");
|
||||
D3D::stateman->SetOMUAV(s_bbox_uav);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -83,4 +85,4 @@ int BBox::Get(int index)
|
|||
D3D::context->Unmap(s_bbox_staging_buffer, 0);
|
||||
return data;
|
||||
}
|
||||
};
|
||||
}; // namespace DX11
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue