From 36340071c7bee4b120e81a359e98028f58859810 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 25 Dec 2018 09:27:22 -0800 Subject: Enabled Vulkan mode on Mac (preliminary implementation) --- Tests/TestApp/src/TestTextureCreation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestTextureCreation.cpp') diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp index 11a0a48..8f4e04d 100644 --- a/Tests/TestApp/src/TestTextureCreation.cpp +++ b/Tests/TestApp/src/TestTextureCreation.cpp @@ -328,7 +328,8 @@ private: ViewDesc.FirstDepthSlice = 3; ViewDesc.NumDepthSlices = 4; } - else if( DeviceCaps.DevType == DeviceType::Vulkan && ViewDesc.ViewType != TEXTURE_VIEW_RENDER_TARGET && ViewDesc.ViewType != TEXTURE_VIEW_DEPTH_STENCIL || DeviceCaps.DevType != DeviceType::Vulkan) + else if( (DeviceCaps.DevType == DeviceType::Vulkan && ViewDesc.ViewType != TEXTURE_VIEW_RENDER_TARGET && ViewDesc.ViewType != TEXTURE_VIEW_DEPTH_STENCIL) || + DeviceCaps.DevType != DeviceType::Vulkan) { // OpenGL cannot create views for separate depth slices ViewDesc.FirstDepthSlice = 0; -- cgit v1.2.3