Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git clone https://github.com/powervr-graphics/Native_SDK.git
- $ cd Native_SDK
- // try to build; fix issues
- $ git diff
- diff --git a/Examples/Advanced/GnomeHorde/Vulkan/Build/LinuxGeneric/Makefile b/Examples/Advanced/GnomeHorde/Vulkan/Build/LinuxGeneric/Makefile
- index 97d0e2ba..2e2a00be 100644
- --- a/Examples/Advanced/GnomeHorde/Vulkan/Build/LinuxGeneric/Makefile
- +++ b/Examples/Advanced/GnomeHorde/Vulkan/Build/LinuxGeneric/Makefile
- @@ -11,7 +11,7 @@ SDKDIR = ../../../../../..
- OUTNAME = VulkanGnomeHorde
- DEPENDS = PVRCore PVRAssets PVRVk PVRShell PVRUtilsVk
- LIBRARIES = PVRUtilsVk PVRShell PVRVk PVRAssets PVRCore
- -LIBPATHS = ../../../../../../Framework/Bin/Linux_$(PLAT_SUFFIX)/$(DEBUG_RELEASE)$(WS)
- +LIBPATHS = ../../../../../../Framework/Bin/$(PLAT_SUFFIX)/$(DEBUG_RELEASE)$(WS)
- OBJECTS += \
- Vulkan/VulkanGnomeHorde.o
- diff --git a/External/concurrent_queue/blockingconcurrentqueue.h b/External/concurrent_queue/blockingconcurrentqueue.h
- index b2cc9a69..a88f6358 100755
- --- a/External/concurrent_queue/blockingconcurrentqueue.h
- +++ b/External/concurrent_queue/blockingconcurrentqueue.h
- @@ -418,7 +418,7 @@ private:
- inner.swap(other.inner);
- sema.swap(other.sema);
- - std::swap(unblocking, other.unblocking);
- + unblocking.exchange(other.unblocking);
- std::swap(may_be_unblocking, other.may_be_unblocking);
- return *this;
- }
- $ cd Examples/Advanced/GnomeHorde/Vulkan/Build/LinuxGeneric
- $ CROSS_COMPILE= make PLATFORM=armv8_64 -j2
- $ cd ../armv8_64/ReleaseNullWS/
- $ ./VulkanGnomeHorde
- // crash, as it looks at swap right after the first frame; oh well
- $ cd -
- $ CROSS_COMPILE= make clean PLATFORM=armv8_64 -j2
- $ CROSS_COMPILE= Debug=1 make PLATFORM=armv8_64 -j2
- $ cd ../armv8_64/DebugNullWS/
- $ gdb ./VulkanGnomeHorde
- (gdb) r
- // no crash; record video
- // 5 minutes later; crash
- (4789) PVR:(Error): _AllocateDeviceMemory: Problem to allocate memory for VK ALLOC (PVRSRV_ERROR_PMR_FAILED_TO_ALLOC_PAGES) [ :0 ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement