mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-26 03:35:27 +00:00
Turn off Vulkan in CMake-based and Qt-based builds, for now
This commit is contained in:
parent
d325aa2b30
commit
96273c6616
@ -6,6 +6,9 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)
|
||||
|
||||
add_definitions(-DPPSSPP)
|
||||
|
||||
# None of these platforms support Vulkan yet.
|
||||
add_definitions(-DNO_VULKAN)
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(_ARCH_64 1)
|
||||
add_definitions(-D_ARCH_64=1)
|
||||
|
@ -21,7 +21,9 @@
|
||||
#include "GPU/GPU.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "GPU/GLES/GLES_GPU.h"
|
||||
#ifndef NO_VULKAN
|
||||
#include "GPU/Vulkan/GPU_Vulkan.h"
|
||||
#endif
|
||||
#include "GPU/Null/NullGpu.h"
|
||||
#include "GPU/Software/SoftGpu.h"
|
||||
|
||||
@ -61,9 +63,11 @@ bool GPU_Init(GraphicsContext *ctx) {
|
||||
break;
|
||||
case GPU_DIRECTX11:
|
||||
return nullptr;
|
||||
#ifndef NO_VULKAN
|
||||
case GPU_VULKAN:
|
||||
SetGPU(new GPU_Vulkan(ctx));
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
return gpu != NULL;
|
||||
|
@ -72,4 +72,5 @@ HEADERS += $$P/Common/ChunkFile.h \
|
||||
$$P/Common/Crypto/*.h
|
||||
|
||||
INCLUDEPATH += $$P/ext/native
|
||||
INCLUDEPATH += $$P/ext
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
VERSION = 1.2.2.0
|
||||
DEFINES += USING_QT_UI USE_FFMPEG
|
||||
DEFINES += USING_QT_UI USE_FFMPEG NO_VULKAN
|
||||
|
||||
exists( /usr/include/snappy-c.h ) {
|
||||
DEFINES += SHARED_SNAPPY
|
||||
|
Loading…
x
Reference in New Issue
Block a user