Tiny cleanups.

This commit is contained in:
Henrik Rydgård 2017-11-04 10:08:53 +01:00
parent b9443e54e3
commit d5f8d484dd
4 changed files with 1 additions and 5 deletions

View File

@ -173,7 +173,6 @@ GPU_Vulkan::~GPU_Vulkan() {
void GPU_Vulkan::CheckGPUFeatures() {
uint32_t features = 0;
features |= GPU_SUPPORTS_16BIT_FORMATS;
if (vulkan_->GetFeaturesEnabled().wideLines) {
features |= GPU_SUPPORTS_WIDE_LINES;
}

View File

@ -19,8 +19,6 @@
//#define SHADERLOG
#endif
#include <map>
#include "base/logging.h"
#include "math/lin/matrix4x4.h"
#include "math/math_util.h"

View File

@ -17,8 +17,6 @@
#pragma once
#include <map>
#include "base/basictypes.h"
#include "Common/Hashmaps.h"
#include "Common/Vulkan/VulkanMemory.h"

View File

@ -187,6 +187,7 @@ void VulkanQueueRunner::InitRenderpasses() {
}
}
}
void VulkanQueueRunner::RunSteps(VkCommandBuffer cmd, const std::vector<VKRStep *> &steps) {
// Optimizes renderpasses, then sequences them.
for (int i = 0; i < steps.size(); i++) {