Commit graph

39 commits

Author SHA1 Message Date
Julian Sikorski
0c70101b74 Sync bgfx, bx and bimg with upstream; fix the hlsl fs_chroma.sc matrix transposition properly (#5875)
* Sync bgfx with upstream revision 280420d

* Sync bx with upstream revision 267727d

* Sync bimg with upstream revision c1bab10

* Use bgfx helper functions to ensure correct matrix orientation

* Rebuild hlsl chain
2019-11-12 22:08:23 -05:00
Julian Sikorski
4470d977da Unbreak building shaders in cmd shell and add support for building them in MINGW bash shell (#5740) 2019-10-15 12:32:42 -04:00
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ć
49f7c99c77 Update BGFX and BX (nw) 2017-03-29 17:09:40 +02:00
Branimir Karadžić
1607745432 Update BGFX and BX (nw) 2017-02-05 13:56:35 +01:00
Branimir Karadžić
fadb547f63 Updated BGFX (nw) 2017-01-02 14:05:50 +01:00
Branimir Karadžić
a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Miodrag Milanovic
3917850b61 Update BX and BGFX (nw) 2016-08-06 14:20:16 +02:00
Miodrag Milanovic
2fe2089179 Update BGFX, BX, Benchmark and RapidJSON (nw) 2016-05-12 08:42:02 +02:00
Branimir Karadžić
f97b68d3ed Update GENie, BGFX and BX (nw) 2016-05-03 12:20:29 +02:00
Branimir Karadžić
94c7dd996b Update BGFX and BX (nw) 2016-04-27 17:57:45 +02:00
Branimir Karadžić
cceb3a32b7 Update to latest BGFX (nw) 2016-04-10 09:16:09 +02:00
Miodrag Milanovic
0386367805 Update BGFX (nw) 2016-04-07 11:10:57 +02:00
Branimir Karadžić
e63f379a0e Update BGFX to latest (nw) 2016-04-04 13:52:25 +02:00
Branimir Karadžić
4172b54d84 Update BGFX and BX (nw) 2016-03-31 20:39:30 +02:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
Branimir Karadžić
fae7a2c486 Update to latest BGFX and BX(nw) 2016-03-20 16:50:14 +01:00
therealmogminer@gmail.com
cd8f796df6 Add bgfx command line options, major shakeup of organization, nw 2016-03-13 15:51:19 +01:00
Branimir Karadžić
6412c5e076 Update BGFX and BX (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
30ef0dc427 Update to latest BGFX including my SteamLink support (nw) 2016-02-16 07:52:59 +01:00
Branimir Karadžić
5bc83a2506 Update BGFX (nw) 2016-02-07 09:50:16 +01:00
Branimir Karadzic
fc07cc3621 Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
Branimir Karadzic
5664971d3b update to latest BGFX and BX 2015-11-01 20:30:24 +01:00
Miodrag Milanovic
8981faa61f update bgfx to latest (nw) 2015-10-15 10:42:29 +02:00
Miodrag Milanovic
7ca8f88a5c Added latest BGFX (nw) 2015-09-12 10:23:53 +02:00
Miodrag Milanovic
a163b28277 Update BGFX (nw) 2015-05-27 12:07:35 +02:00
Miodrag Milanovic
2b97bfba29 update to latest 3rdparty, rollback of genie change (nw) 2015-04-16 14:16:14 +02:00
Miodrag Milanovic
d4a431f0ea latest BGFX (nw) 2015-04-08 15:13:38 +02:00
Miodrag Milanovic
fadbc9808c Updated to latest 3rdparty (nw) 2015-03-30 14:36:33 +02:00
Miodrag Milanovic
522a6d8c30 updated to latest 3rdparty 2015-03-26 08:14:29 +01:00
Miodrag Milanovic
43f92ea260 update 3rdparty (nw) 2015-03-19 08:40:37 +01:00
Miodrag Milanovic
c14b700825 Sync with latest (nw) 2015-03-17 11:08:12 +01:00
Miodrag Milanovic
1ecbc8f95f update 3rdparty libs 2015-03-10 08:05:28 +01:00
Miodrag Milanovic
0d9be2925b update bgfx (nw) 2015-03-07 19:12:51 +01:00
Miodrag Milanovic
abb3442fe6 update libs to latest (nw) 2015-02-28 07:52:28 +01:00
Miodrag Milanovic
8afe66fc63 Updated BGFX, BX and GENie to latest (nw) 2015-02-14 12:53:08 +01:00
Miodrag Milanovic
b3303c3a32 Added BGFX latest code to 3rdparty (nw) 2015-02-01 10:14:17 +01:00