mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
It's possible to build and run D3D10/11/12 without glslang/spirv-cross -
just no frontend shaders
This commit is contained in:
parent
c6c8d03f29
commit
260b06750d
@ -1264,8 +1264,11 @@ ifeq ($(HAVE_VULKAN), 1)
|
|||||||
OBJ += gfx/drivers/vulkan.o \
|
OBJ += gfx/drivers/vulkan.o \
|
||||||
gfx/common/vulkan_common.o \
|
gfx/common/vulkan_common.o \
|
||||||
$(LIBRETRO_COMM_DIR)/vulkan/vulkan_symbol_wrapper.o \
|
$(LIBRETRO_COMM_DIR)/vulkan/vulkan_symbol_wrapper.o \
|
||||||
gfx/drivers_font/vulkan_raster_font.o \
|
gfx/drivers_font/vulkan_raster_font.o
|
||||||
gfx/drivers_shader/shader_vulkan.o
|
|
||||||
|
ifeq ($(HAVE_SLANG), 1)
|
||||||
|
OBJ += gfx/drivers_shader/shader_vulkan.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_VULKAN_DISPLAY), 1)
|
ifeq ($(HAVE_VULKAN_DISPLAY), 1)
|
||||||
OBJ += gfx/drivers_context/khr_display_ctx.o
|
OBJ += gfx/drivers_context/khr_display_ctx.o
|
||||||
@ -1281,7 +1284,7 @@ endif
|
|||||||
ifeq ($(HAVE_OPENGL_CORE), 1)
|
ifeq ($(HAVE_OPENGL_CORE), 1)
|
||||||
OBJ += gfx/drivers/gl_core.o \
|
OBJ += gfx/drivers/gl_core.o \
|
||||||
gfx/drivers_font/gl_core_raster_font.o \
|
gfx/drivers_font/gl_core_raster_font.o \
|
||||||
gfx/drivers_shader/shader_gl_core.o
|
gfx/drivers_shader/shader_gl_core.o
|
||||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||||
OBJ += menu/drivers_display/menu_display_gl_core.o
|
OBJ += menu/drivers_display/menu_display_gl_core.o
|
||||||
endif
|
endif
|
||||||
|
@ -529,32 +529,25 @@ fi
|
|||||||
if [ "$HAVE_SLANG" = 'no' ] ||
|
if [ "$HAVE_SLANG" = 'no' ] ||
|
||||||
[ "$HAVE_GLSLANG" = 'no' ] ||
|
[ "$HAVE_GLSLANG" = 'no' ] ||
|
||||||
[ "$HAVE_SPIRV_CROSS" = 'no' ]; then
|
[ "$HAVE_SPIRV_CROSS" = 'no' ]; then
|
||||||
die : 'Notice: slang/glslang/SPIRV Cross disabled, disabling video drivers:'
|
|
||||||
|
|
||||||
if [ "$HAVE_SLANG" != "no" ]; then
|
if [ "$HAVE_SLANG" != "no" ]; then
|
||||||
|
die : 'Notice: slang disabled.'
|
||||||
HAVE_SLANG=no
|
HAVE_SLANG=no
|
||||||
fi
|
fi
|
||||||
if [ "$HAVE_GLSLANG" != "no" ]; then
|
if [ "$HAVE_GLSLANG" != "no" ]; then
|
||||||
|
die : 'Notice: glslang disabled.'
|
||||||
HAVE_GLSLANG=no
|
HAVE_GLSLANG=no
|
||||||
fi
|
fi
|
||||||
if [ "$HAVE_SPIRV_CROSS" != "no" ]; then
|
if [ "$HAVE_SPIRV_CROSS" != "no" ]; then
|
||||||
|
die : 'Notice: SPIRV-Cross disabled.'
|
||||||
HAVE_SPIRV_CROSS=no
|
HAVE_SPIRV_CROSS=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HAVE_D3D11" != "no" ]; then
|
|
||||||
die : 'd3d11'
|
|
||||||
HAVE_D3D11=no
|
|
||||||
fi
|
|
||||||
if [ "$HAVE_D3D12" != "no" ]; then
|
|
||||||
die : 'd3d12'
|
|
||||||
HAVE_D3D12=no
|
|
||||||
fi
|
|
||||||
if [ "$HAVE_OPENGL_CORE" != "no" ]; then
|
if [ "$HAVE_OPENGL_CORE" != "no" ]; then
|
||||||
die : 'glcore'
|
die : 'Notice: glcore disabled.'
|
||||||
HAVE_OPENGL_CORE=no
|
HAVE_OPENGL_CORE=no
|
||||||
fi
|
fi
|
||||||
if [ "$HAVE_VULKAN" != "no" ]; then
|
if [ "$HAVE_VULKAN" != "no" ]; then
|
||||||
die : 'vulkan'
|
die : 'Notice: vulkan disabled.'
|
||||||
HAVE_VULKAN=no
|
HAVE_VULKAN=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user