summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDrChat <arkolbed@gmail.com>2018-04-13 21:45:47 -0500
committerDrChat <arkolbed@gmail.com>2018-04-13 21:45:47 -0500
commit0f0d600a5b3e19bc2a3a6c79f05d815744c15bb7 (patch)
tree66c56f83a3c917d271817d1b4e585d3992323db3 /src
parentf02f192f2bcd613edfb84a5e195571becad302cc (diff)
Fix Travis
Diffstat (limited to 'src')
-rw-r--r--src/xenia/gpu/glsl_shader_translator.cc1
-rw-r--r--src/xenia/gpu/vulkan/buffer_cache.cc4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/xenia/gpu/glsl_shader_translator.cc b/src/xenia/gpu/glsl_shader_translator.cc
index 2f89ab3df..32d26c1a2 100644
--- a/src/xenia/gpu/glsl_shader_translator.cc
+++ b/src/xenia/gpu/glsl_shader_translator.cc
@@ -959,6 +959,7 @@ void GlslShaderTranslator::EmitStoreResult(const InstructionResult& result,
case InstructionStorageTarget::kDepth:
EmitSourceDepth("gl_FragDepth");
break;
+ default:
case InstructionStorageTarget::kNone:
return;
}
diff --git a/src/xenia/gpu/vulkan/buffer_cache.cc b/src/xenia/gpu/vulkan/buffer_cache.cc
index c4a85d347..60a2219d7 100644
--- a/src/xenia/gpu/vulkan/buffer_cache.cc
+++ b/src/xenia/gpu/vulkan/buffer_cache.cc
@@ -149,8 +149,8 @@ VkResult xe::gpu::vulkan::BufferCache::CreateVertexDescriptorPool() {
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
32 * 16384,
});
- vertex_descriptor_pool_ =
- std::make_unique<ui::vulkan::DescriptorPool>(*device_, 32 * 16384, pool_sizes);
+ vertex_descriptor_pool_ = std::make_unique<ui::vulkan::DescriptorPool>(
+ *device_, 32 * 16384, pool_sizes);
// 32 storage buffers available to vertex shader.
// TODO(DrChat): In the future, this could hold memexport staging data.