mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
Vulkan: Remove unnecessary index buffer for backbuffer drawcall
This commit is contained in:
parent
8f1cd4f925
commit
b8d81283e8
2 changed files with 1 additions and 24 deletions
|
@ -548,15 +548,11 @@ private:
|
|||
void sync_RenderPassStoreTextures(CachedFBOVk* fboVk);
|
||||
|
||||
// command buffer
|
||||
|
||||
VkCommandBuffer getCurrentCommandBuffer() const { return m_state.currentCommandBuffer; }
|
||||
|
||||
// uniform
|
||||
void uniformData_updateUniformVars(uint32 shaderStageIndex, LatteDecompilerShader* shader);
|
||||
|
||||
// indices
|
||||
void CreateBackbufferIndexBuffer();
|
||||
|
||||
// misc
|
||||
void CreatePipelineCache();
|
||||
VkPipelineShaderStageCreateInfo CreatePipelineShaderStageCreateInfo(VkShaderStageFlagBits stage, VkShaderModule& module, const char* entryName) const;
|
||||
|
@ -580,9 +576,6 @@ private:
|
|||
void occlusionQuery_notifyBeginCommandBuffer();
|
||||
|
||||
private:
|
||||
VkBuffer m_indexBuffer = VK_NULL_HANDLE;
|
||||
VkDeviceMemory m_indexBufferMemory = VK_NULL_HANDLE;
|
||||
|
||||
std::vector<const char*> m_layerNames;
|
||||
VkInstance m_instance = VK_NULL_HANDLE;
|
||||
VkPhysicalDevice m_physicalDevice = VK_NULL_HANDLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue