aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
authorJeremy Kniager <jeremyk@lunarg.com>2019-10-14 09:25:47 -0600
committerjeremyk-lunarg <jeremyk@lunarg.com>2019-10-14 10:22:36 -0600
commitfc7c0fd265347e3a195072efbe37ce1e88d2abe8 (patch)
treed5fde6dc18245140e9b36bf26adc1422d74db93e /cube/cube.cpp
parent8c0802620958ddb32fa95244185477a684b1f214 (diff)
downloadusermoji-fc7c0fd265347e3a195072efbe37ce1e88d2abe8.tar.xz
cube: Revert 1.1.114 SDK workaround for vkcube
During the release of the 1.1.114 MacOS SDK a workaround for vkcube was needed to get it functioning in time for release. The underlying problem has since been fixed and this workaround is not longer necessary. Change-Id: I3ad3d1bafa44cfbc158820025bb22757d6e5683d
Diffstat (limited to 'cube/cube.cpp')
-rw-r--r--cube/cube.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp
index 48c1f728..87b24f9f 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -909,12 +909,6 @@ void Demo::init(int argc, char **argv) {
frameCount = UINT32_MAX;
use_xlib = false;
-#if defined(VK_USE_PLATFORM_MACOS_MVK)
- // MoltenVK may not allow host coherent mapping to linear tiled images
- // Force the use of a staging buffer to be safe
- use_staging_buffer = true;
-#endif
-
for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "--use_staging") == 0) {
use_staging_buffer = true;