Commit Graph

12 Commits

Author SHA1 Message Date
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
mooglyguy
0bd02131b6 3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz] 2018-12-05 19:45:08 +01:00
Miodrag Milanovic
3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
Branimir Karadžić
a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Steven Chamberlain
ef8816ae18 bx: sync with upstream 2016-07-14 18:31:16 +01:00
Steven Chamberlain
8fb0ab46bb bx: use system signal.h on glibc systems
On GNU/kFreeBSD, sys/signal.h is only a wrapper around glibc signal.h
anyway, leading to a #include loop in this case.
2016-07-13 13:14:15 +01:00
Steven Chamberlain
c904fc121c bx: use real alloca.h on glibc systems
On GNU/kFreeBSD, the definition for alloca() can be found in the
system alloca.h
2016-07-13 12:25:55 +01:00
Branimir Karadžić
94c7dd996b Update BGFX and BX (nw) 2016-04-27 17:57:45 +02:00
Branimir Karadzic
5664971d3b update to latest BGFX and BX 2015-11-01 20:30:24 +01:00
Miodrag Milanovic
6d06509293 Added latest BX (nw) 2015-09-12 10:22:55 +02:00
Miodrag Milanovic
a163b28277 Update BGFX (nw) 2015-05-27 12:07:35 +02:00
Miodrag Milanovic
b3303c3a32 Added BGFX latest code to 3rdparty (nw) 2015-02-01 10:14:17 +01:00