mame/3rdparty/bgfx/examples/16-shadowmaps
Julian Sikorski 0837e7451a WIP: sync bgfx, bx and bimg with latest upstream (#5723)
* 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
2019-10-13 07:50:38 -04:00
..
common.sh Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_black.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm_linear_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm_linear_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_esm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard_linear_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard_linear_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_hard.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_main.sh Update BGFX and BX (nw) 2016-03-08 12:58:10 +01:00
fs_shadowmaps_color_lighting_pcf_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_pcf_linear_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_pcf_linear_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_pcf_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_pcf_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_pcf.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm_linear_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm_linear_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting_vsm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_lighting.sh Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_color_texture.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_hblur_vsm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_hblur.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_packdepth_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_packdepth_vsm_linear.sc Updated BGFX (nw) 2017-01-02 14:05:50 +01:00
fs_shadowmaps_packdepth_vsm.sc Updated BGFX (nw) 2017-01-02 14:05:50 +01:00
fs_shadowmaps_packdepth.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_texture.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_unpackdepth_vsm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_unpackdepth.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_vblur_vsm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
fs_shadowmaps_vblur.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
makefile WIP: sync bgfx, bx and bimg with latest upstream (#5723) 2019-10-13 07:50:38 -04:00
screenshot.png Added BGFX latest code to 3rdparty (nw) 2015-02-01 10:14:17 +01:00
shadowmaps.cpp WIP: sync bgfx, bx and bimg with latest upstream (#5723) 2019-10-13 07:50:38 -04:00
varying.def.sc Added BGFX latest code to 3rdparty (nw) 2015-02-01 10:14:17 +01:00
vs_shadowmaps_color_lighting_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_lighting_linear_csm.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_lighting_linear_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_lighting_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_lighting_omni.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_lighting.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color_texture.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_color.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_depth.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_hblur.sc WIP: sync bgfx, bx and bimg with latest upstream (#5723) 2019-10-13 07:50:38 -04:00
vs_shadowmaps_packdepth_linear.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_packdepth.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_texture_lighting.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_texture.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_unpackdepth.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
vs_shadowmaps_vblur.sc Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00