mirror of
https://github.com/holub/mame
synced 2025-05-03 21:13:18 +03:00

* Sync with bgfx upstream revision b91d0b6 * Sync with bx upstream revision d60912b * Sync with bimg upstream revision bd81f60 * Add astc-codec decoder * Rename VertexDecl to VertexLayout * Rename UniformType enum Int1 to Sampler. * Add NVN stub * Fix unused-const-variable error on macOS * Drop redundant explicit language parameters buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only applied to objective c++ files. As such, hardcoding -x offers no benefit while preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on macOS) from working. * Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning * Build bgfx as Objective-C++ on macOS It is needed due to included headers * Enable Direct3D12 and Vulkan bgfx rendering backends * Enable building of spirv shaders * Properly escape /c in cmd call * Comment out dx12 bgfx renderer * Honor VERBOSE setting during shaders build * Only invert hlsl shader XYZ_TO_sRGB matrix for opengl * Add spirv shaders * OpenGL ES needs transposed matrix too * Metal needs transposed matrix as well
49 lines
2.3 KiB
Makefile
49 lines
2.3 KiB
Makefile
#
|
|
# Copyright 2011-2019 Branimir Karadzic. All rights reserved.
|
|
# License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
|
#
|
|
|
|
rebuild:
|
|
@make -s --no-print-directory rebuild -C 01-cubes
|
|
@make -s --no-print-directory rebuild -C 02-metaballs
|
|
@make -s --no-print-directory rebuild -C 03-raymarch
|
|
@make -s --no-print-directory rebuild -C 04-mesh
|
|
@make -s --no-print-directory rebuild -C 05-instancing
|
|
@make -s --no-print-directory rebuild -C 06-bump
|
|
@make -s --no-print-directory rebuild -C 07-callback
|
|
@make -s --no-print-directory rebuild -C 08-update
|
|
@make -s --no-print-directory rebuild -C 09-hdr
|
|
# @make -s --no-print-directory rebuild -C 10-font
|
|
# @make -s --no-print-directory rebuild -C 11-fontsdf
|
|
@make -s --no-print-directory rebuild -C 12-lod
|
|
@make -s --no-print-directory rebuild -C 13-stencil
|
|
@make -s --no-print-directory rebuild -C 14-shadowvolumes
|
|
@make -s --no-print-directory rebuild -C 15-shadowmaps-simple
|
|
@make -s --no-print-directory rebuild -C 16-shadowmaps
|
|
@make -s --no-print-directory rebuild -C 17-drawstress
|
|
@make -s --no-print-directory rebuild -C 18-ibl
|
|
@make -s --no-print-directory rebuild -C 19-oit
|
|
# @make -s --no-print-directory rebuild -C 20-nanovg
|
|
@make -s --no-print-directory rebuild -C 21-deferred
|
|
@make -s --no-print-directory rebuild -C 23-vectordisplay
|
|
@make -s --no-print-directory rebuild -C 24-nbody
|
|
# @make -s --no-print-directory rebuild -C 25-c99
|
|
# @make -s --no-print-directory rebuild -C 26-occlusion
|
|
@make -s --no-print-directory rebuild -C 27-terrain
|
|
@make -s --no-print-directory rebuild -C 28-wireframe
|
|
@make -s --no-print-directory rebuild -C 30-picking
|
|
@make -s --no-print-directory rebuild -C 31-rsm
|
|
@make -s --no-print-directory rebuild -C 33-pom
|
|
# @make -s --no-print-directory rebuild -C 34-mvs
|
|
# @make -s --no-print-directory rebuild -C 35-dynamic
|
|
@make -s --no-print-directory rebuild -C 36-sky
|
|
# @make -s --no-print-directory rebuild -C 37-gpudrivenrendering
|
|
@make -s --no-print-directory rebuild -C 38-bloom
|
|
# @make -s --no-print-directory rebuild -C 39-assao
|
|
@make -s --no-print-directory rebuild -C 40-svt
|
|
@make -s --no-print-directory rebuild -C common/debugdraw
|
|
@make -s --no-print-directory rebuild -C common/font
|
|
@make -s --no-print-directory rebuild -C common/imgui
|
|
@make -s --no-print-directory rebuild -C common/nanovg
|
|
@make -s --no-print-directory rebuild -C common/ps
|