Skip to content

Commit 5e9f0f0

Browse files
committed
[Chore] (MG_Backend/DirectVulkan): remove some unused stuff
1 parent e4455ae commit 5e9f0f0

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRenderer.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,11 +1707,6 @@ void main() {
17071707
m_config.MaxFramesInFlight);
17081708
}
17091709

1710-
Uint64 VulkanRenderer::BuildPendingClearKey(Uint drawFboExternalIndex, Bool targetsDefaultFramebuffer) {
1711-
return (static_cast<Uint64>(targetsDefaultFramebuffer ? 1 : 0) << 63) |
1712-
static_cast<Uint64>(drawFboExternalIndex);
1713-
}
1714-
17151710
void VulkanRenderer::CreateCommandPool() {
17161711
VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO};
17171712
createInfo.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;

MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRenderer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ namespace MobileGL::MG_Backend::DirectVulkan {
250250
static Bool GetMoreCapablePhysicalDevice(VkPhysicalDevice newVkDevice, VkSurfaceKHR surface,
251251
const PhysicalDevice& compareWithDevice,
252252
PhysicalDevice& outBetterDevice);
253-
static Uint64 BuildPendingClearKey(Uint drawFboExternalIndex, Bool targetsDefaultFramebuffer);
254-
static constexpr VkDynamicState s_dynamicStates[] = {VK_DYNAMIC_STATE_VIEWPORT, VK_DYNAMIC_STATE_SCISSOR};
255253
static constexpr const char* s_validationLayerNames[] = {"VK_LAYER_KHRONOS_validation"};
256254
static constexpr const char* s_deviceExtensionNames[] = {VK_KHR_SWAPCHAIN_EXTENSION_NAME};
257255
static Bool CheckValidationLayerSupport();

0 commit comments

Comments
 (0)