mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
GPU: Remove some unused fields.
This commit is contained in:
parent
82dc4c0b72
commit
d1fa9b97a3
@ -83,5 +83,4 @@ private:
|
||||
ShaderManagerD3D11 *shaderManagerD3D11_;
|
||||
|
||||
int lastVsync_;
|
||||
int vertexCost_ = 0;
|
||||
};
|
||||
|
@ -82,7 +82,6 @@ private:
|
||||
ShaderManagerDX9 *shaderManagerDX9_;
|
||||
|
||||
int lastVsync_;
|
||||
int vertexCost_ = 0;
|
||||
};
|
||||
|
||||
} // namespace DX9
|
||||
|
@ -92,5 +92,4 @@ private:
|
||||
#ifdef _WIN32
|
||||
int lastVsync_;
|
||||
#endif
|
||||
int vertexCost_ = 0;
|
||||
};
|
||||
|
@ -167,7 +167,7 @@ void DrawEngineVulkan::InitDeviceObjects() {
|
||||
|
||||
vertexCache_ = new VulkanPushBuffer(vulkan_, VERTEX_CACHE_SIZE);
|
||||
|
||||
tessDataTransfer = new TessellationDataTransferVulkan(vulkan_, draw_);
|
||||
tessDataTransfer = new TessellationDataTransferVulkan(vulkan_);
|
||||
}
|
||||
|
||||
DrawEngineVulkan::~DrawEngineVulkan() {
|
||||
@ -994,8 +994,8 @@ void DrawEngineVulkan::UpdateUBOs(FrameData *frame) {
|
||||
}
|
||||
}
|
||||
|
||||
DrawEngineVulkan::TessellationDataTransferVulkan::TessellationDataTransferVulkan(VulkanContext *vulkan, Draw::DrawContext *draw)
|
||||
: TessellationDataTransfer(), vulkan_(vulkan), draw_(draw) {
|
||||
DrawEngineVulkan::TessellationDataTransferVulkan::TessellationDataTransferVulkan(VulkanContext *vulkan)
|
||||
: TessellationDataTransfer(), vulkan_(vulkan) {
|
||||
}
|
||||
|
||||
DrawEngineVulkan::TessellationDataTransferVulkan::~TessellationDataTransferVulkan() {
|
||||
|
@ -280,7 +280,7 @@ private:
|
||||
// Hardware tessellation
|
||||
class TessellationDataTransferVulkan : public TessellationDataTransfer {
|
||||
public:
|
||||
TessellationDataTransferVulkan(VulkanContext *vulkan, Draw::DrawContext *draw);
|
||||
TessellationDataTransferVulkan(VulkanContext *vulkan);
|
||||
~TessellationDataTransferVulkan();
|
||||
|
||||
void SetPushBuffer(VulkanPushBuffer *push) { push_ = push; }
|
||||
@ -299,10 +299,8 @@ private:
|
||||
|
||||
private:
|
||||
VulkanContext *vulkan_;
|
||||
Draw::DrawContext *draw_;
|
||||
VulkanPushBuffer *push_; // Updated each frame.
|
||||
|
||||
int size_ = 0;
|
||||
uint32_t offset_ = 0;
|
||||
uint32_t range_ = 0;
|
||||
VkBuffer buf_ = VK_NULL_HANDLE;
|
||||
|
Loading…
Reference in New Issue
Block a user