Permalink
Browse files

Tiny cleanups.

  • Loading branch information...
hrydgard committed Nov 4, 2017
1 parent b9443e5 commit d5f8d484dd3f9e0d7da5220553f1ae26f2c2110c
@@ -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;
}
@@ -19,8 +19,6 @@
//#define SHADERLOG
#endif
#include <map>
#include "base/logging.h"
#include "math/lin/matrix4x4.h"
#include "math/math_util.h"
@@ -17,8 +17,6 @@
#pragma once
#include <map>
#include "base/basictypes.h"
#include "Common/Hashmaps.h"
#include "Common/Vulkan/VulkanMemory.h"
@@ -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++) {

0 comments on commit d5f8d48

Please sign in to comment.