Skip to content

Commit

Permalink
Delete two unused structs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 11, 2023
1 parent 0c7b42b commit dd032dc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion Common/GPU/Vulkan/VulkanQueueRunner.cpp
Expand Up @@ -129,7 +129,6 @@ bool VulkanQueueRunner::CreateSwapchain(VkCommandBuffer cmdInit) {
return true;
}


bool VulkanQueueRunner::InitBackbufferFramebuffers(int width, int height) {
VkResult res;
// We share the same depth buffer but have multiple color buffers, see the loop below.
Expand Down
8 changes: 0 additions & 8 deletions Common/GPU/Vulkan/VulkanQueueRunner.h
Expand Up @@ -56,18 +56,10 @@ ENUM_CLASS_BITOPS(PipelineFlags);
struct VkRenderData {
VKRRenderCommand cmd;
union {
struct {
VkPipeline pipeline;
VKRPipelineLayout *pipelineLayout;
} pipeline;
struct {
VKRGraphicsPipeline *pipeline;
VKRPipelineLayout *pipelineLayout;
} graphics_pipeline;
struct {
VKRComputePipeline *pipeline;
VKRPipelineLayout *pipelineLayout;
} compute_pipeline;
struct {
uint32_t descSetIndex;
int numUboOffsets;
Expand Down
1 change: 0 additions & 1 deletion GPU/Vulkan/DrawEngineVulkan.h
Expand Up @@ -177,7 +177,6 @@ class DrawEngineVulkan : public DrawEngineCommon {
private:
void Invalidate(InvalidationCallbackFlags flags);

struct FrameData;
void ApplyDrawStateLate(VulkanRenderManager *renderManager, bool applyStencilRef, uint8_t stencilRef, bool useBlendConstant);
void ConvertStateToVulkanKey(FramebufferManagerVulkan &fbManager, ShaderManagerVulkan *shaderManager, int prim, VulkanPipelineRasterStateKey &key, VulkanDynamicState &dynState);
void BindShaderBlendTex();
Expand Down

0 comments on commit dd032dc

Please sign in to comment.