Commit Graph

528 Commits

Author SHA1 Message Date
Jason Millard
c3fa3b0e36 deps: bump bgfx and bx v1.143.9214-528 2026-04-13 20:00:39 -04:00
Jason Millard
668550dc7c deps: bump bgfx to latest v1.142.9197-527 2026-03-24 20:19:22 -04:00
Jason Millard
8cc59b3a23 deps: bump bgfx and bimg to latest, add missing examples v1.142.9196-526 2026-03-24 07:44:31 -04:00
Jason Millard
884c624619 deps: bump bgfx to latest v1.142.9193-525 2026-03-22 11:31:49 -04:00
Jason Millard
9ba6a8ae0f deps: bump bgfx to latest v1.142.9190-524 2026-03-21 14:44:33 -04:00
Jason Millard
830133102d ci: bump some github actions to latest v1.142.9185-523 2026-03-20 22:43:48 -04:00
Jason Millard
4a9973b9e3 misc: add support for compiling metal-cpp 2026-03-20 22:43:48 -04:00
Jason Millard
78c265c3c9 deps: bump bgfx, bimg, and bx 2026-03-20 22:43:48 -04:00
Alex Threlfo
10a9ed2220 update shaderc target profiles
- dx10 is deprecated
- dx11 -> dxbc
- use appropriate gl target based on shader type
- add wgsl
- add dxil (dx12)

dxil is a bit of an odd one as bgfx dynamically loads the compiler
runtime from the shaderc binary path, so i've added some extra
configuration to copy the appropriate vendored binaries over to the
build output/install directories.
v1.140.9174-520
2026-03-19 22:53:34 -04:00
Alex Threlfo
26dbcda964 fix all renderers defaulting to disabled
caused by bkaradzic/bgfx.cmake#22

overriding *any* renderer config defines causes bgfx to disable
automatic config derivation for *all* renderers - this meant that force
disabling WebGPU was also implicitly disabling all other renderers by
default. not sure what the best option is here (outside of explicitly
setting all renderers in the build system) but removing this for now to
restore expected per-platform defaults.
v1.140.9174-519
2026-03-17 13:16:56 -04:00
Alex Threlfo
4f736eedd5 add shader defines to bgfx_compile_shaders()
fixes bkaradzic/bgfx.cmake#19
v1.140.9174-517 v1.140.9174-518
2026-03-13 08:35:48 -04:00
Alex Threlfo
ceacf584eb disable webgpu renderer at runtime if it is not configured
the logic here was a bit backwards in that webgpu was forced at runtime
if we were building it - bgfx will figure out what renderers are
supported by the current target itself, but it *should* be removed as an
option if we aren't linking to it.
2026-03-13 08:35:22 -04:00
Alex Threlfo
7addeb2643 fix renderer_webgpu.cpp being compiled as plain c++ in xcode v1.140.9174-516 2026-03-09 22:11:28 -04:00
Jason Millard
6e2138a920 add validate_dot_product.cpp and validate_pipe.cpp for spirv-opt v1.140.9174-515 2026-03-01 11:06:11 -05:00
dependabot[bot]
af6a3b1f2f build(deps): bump the submodules group with 2 updates
Bumps the submodules group with 2 updates: [bgfx](https://github.com/bkaradzic/bgfx) and [bx](https://github.com/bkaradzic/bx).


Updates `bgfx` from `651c203` to `0b1c1ec`
- [Commits](651c203116...0b1c1ecaca)

Updates `bx` from `36ad613` to `fa641d8`
- [Commits](36ad6131f4...fa641d8581)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-version: 0b1c1ecaca917acc093f755bf8468711a5b24aee
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-version: fa641d8581f7f6f696a37abe4b80558aca161440
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 11:06:11 -05:00
Jason Millard
f40f4ca580 deps: bump bgfx and bimg (#14) v1.139.9155-513 2026-02-20 17:34:31 -05:00
benji
eda300c870 default to no multithreading for emscripten v1.136.9135-512 2026-02-15 19:11:20 -05:00
dependabot[bot]
fc0cada1eb build(deps): bump the submodules group with 2 updates (#11)
* build(deps): bump the submodules group with 2 updates

Bumps the submodules group with 2 updates: [bgfx](https://github.com/bkaradzic/bgfx) and [bx](https://github.com/bkaradzic/bx).
v1.136.9135-511
2026-02-02 20:46:15 -05:00
Branimir Karadžić
fbe794fa4c Update dependabot.yml (#12) v1.136.9114-508 v1.136.9114-509 v1.136.9114-510 2026-02-02 03:34:56 +00:00
Branimir Karadžić
12dcf5f74c Update dependabot.yml 2026-02-02 03:31:44 +00:00
Branimir Karadžić
5a19118dec Update dependabot.yml 2026-02-02 03:31:11 +00:00
Sage Martin
6a35cc27ed CMP0175 fixes (#9) v1.136.9114-507 2026-01-23 23:45:07 -05:00
Sandy
4ae9b3209b Add new code owner @jsm174 (#8) v1.136.9114-506 2026-01-20 11:22:45 -05:00
Jason Millard
cbd0e09dd9 deps: bump bgfx, bimg, and bx v1.136.9114-505 2026-01-20 09:32:00 -05:00
Jason Millard
f104e89b0e deps: bump bgfx, and bx, add support for compiling tint v1.136.9106-504 2026-01-10 21:38:17 -05:00
Jason Millard
54fc2e6d5a deps: bump bgfx and bx v1.136.9095-503 2026-01-08 16:19:51 -05:00
leia uwu
8301c805b5 fix shader paths on README v1.135.9062-502 2025-12-11 23:56:14 -05:00
alemuntoni
b5e37cd0db bump submodules and add new sources to spirv-opt.cmake v1.135.9062-501 2025-12-04 08:23:11 -05:00
Jason Millard
052d997930 deps: bump bgfx, bimg, and bx. Update to use C++ 20. (#1) v1.135.9046-500 2025-11-15 16:44:21 +00:00
Matt Tytel
a952acef35 Make sure mm files aren't globbed on non-apple computers v1.129.8958-499 2025-10-29 21:44:41 -04:00
Jason Millard
dddc79f2ee Add missing validate_graph.cpp to fix dependabot builds v1.129.8958-498 2025-10-22 17:49:15 -04:00
dependabot[bot]
fbf0903e50 build(deps): bump the submodules group with 2 updates
Bumps the submodules group with 2 updates: [bgfx](https://github.com/bkaradzic/bgfx) and [bx](https://github.com/bkaradzic/bx).


Updates `bgfx` from `7a70927` to `b0e9cbd`
- [Commits](7a70927d2a...b0e9cbd110)

Updates `bx` from `eda3839` to `59d9249`
- [Commits](eda38395dd...59d9249854)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-version: b0e9cbd11041a602067ef00b22a281a922f8e1b2
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-version: 59d9249854f1f588dc9e7a79549fe954bcd8a5e7
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 17:49:15 -04:00
dependabot[bot]
5f3f4f2972 build(deps): bump the submodules group with 3 updates
Bumps the submodules group with 3 updates: [bgfx](https://github.com/bkaradzic/bgfx), [bx](https://github.com/bkaradzic/bx) and [bimg](https://github.com/bkaradzic/bimg).


Updates `bgfx` from `23baae9` to `7a70927`
- [Commits](23baae9e00...7a70927d2a)

Updates `bx` from `d858859` to `eda3839`
- [Commits](d858859d17...eda38395dd)

Updates `bimg` from `3af74f3` to `a1a2ae3`
- [Commits](3af74f3fe1...a1a2ae3c12)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-version: 7a70927d2af7ffcc5cef9c9e8f4c821e31fcb099
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-version: eda38395ddfdeba08c46653b93b8d5bb21f2c863
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bimg
  dependency-version: a1a2ae3c129d8c33e765eecd91801bffd985c317
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.129.8940-496
2025-09-10 14:45:34 -04:00
dependabot[bot]
bd755d6c91 build(deps): bump the submodules group with 2 updates
Bumps the submodules group with 2 updates: [bgfx](https://github.com/bkaradzic/bgfx) and [bimg](https://github.com/bkaradzic/bimg).


Updates `bgfx` from `14e0aa5` to `23baae9`
- [Commits](14e0aa5aff...23baae9e00)

Updates `bimg` from `446b9eb` to `3af74f3`
- [Commits](446b9eb111...3af74f3fe1)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-version: 23baae9e0010ee03edd8904fc7e176c76f4f8e2c
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bimg
  dependency-version: 3af74f3fe1a36c1ce17d2443c352eb8dbb3a5bd4
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.129.8930-495
2025-08-03 19:21:05 -04:00
dependabot[bot]
e8a92ffbbe build(deps): bump the submodules group with 2 updates
Bumps the submodules group with 2 updates: [bgfx](https://github.com/bkaradzic/bgfx) and [bx](https://github.com/bkaradzic/bx).


Updates `bgfx` from `4109e14` to `14e0aa5`
- [Commits](4109e14b43...14e0aa5aff)

Updates `bx` from `5a20afe` to `d858859`
- [Commits](5a20afef84...d858859d17)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-version: 14e0aa5aff65a12df621fbc9466b42d41d01f013
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-version: d858859d1724fc037129318330f9c5ee5e008a08
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.129.8925-494
2025-07-03 07:10:16 -04:00
alemuntoni
657dd62551 bump submodules and add new sources to spirv-opt.cmake v1.129.8914-493 2025-05-29 14:57:33 -04:00
Jason Millard
36a0d1d8d0 actions: bump actions. fixes upload-artifact@v3 failures v1.129.8866-492 2025-02-27 17:03:45 -05:00
dependabot[bot]
cf79284dad build(deps): bump the submodules group across 1 directory with 3 updates
Bumps the submodules group with 3 updates in the / directory: [bgfx](https://github.com/bkaradzic/bgfx), [bx](https://github.com/bkaradzic/bx) and [bimg](https://github.com/bkaradzic/bimg).


Updates `bgfx` from `7b3e1eb` to `de56398`
- [Commits](7b3e1ebf62...de56398919)

Updates `bx` from `c723ec4` to `01c99dd`
- [Commits](c723ec4054...01c99ddd09)

Updates `bimg` from `b713092` to `c5c7b6e`
- [Commits](b7130927db...c5c7b6e187)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bimg
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.129.8866-491
2025-01-26 19:54:40 -05:00
Jason Millard
06144dcb9b add validate_tensor_layout.cpp to spirv-opt cmake v1.129.8863-490 2025-01-02 11:16:00 -05:00
dependabot[bot]
3b5115516c build(deps): bump the submodules group across 1 directory with 3 updates
Bumps the submodules group with 3 updates in the / directory: [bgfx](https://github.com/bkaradzic/bgfx), [bx](https://github.com/bkaradzic/bx) and [bimg](https://github.com/bkaradzic/bimg).


Updates `bgfx` from `cc789e8` to `7b3e1eb`
- [Commits](cc789e83a6...7b3e1ebf62)

Updates `bx` from `2cebc55` to `c723ec4`
- [Commits](2cebc558eb...c723ec4054)

Updates `bimg` from `0d1c78e` to `b713092`
- [Commits](0d1c78e779...b7130927db)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bimg
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-02 11:16:00 -05:00
Aaron Ishibashi
ef0ed485c5 Fix broken shader platform checks, add checks for iOS, Android, Orbis (#254)
* Fix broken shader platform checks, add checks for iOS, Android, Orbis, remove NaCl

* Fix formatting issue

Co-authored-by: Sandy <1013356+bwrsandman@users.noreply.github.com>

* Update cmake/bgfxToolUtils.cmake formatting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Sandy <1013356+bwrsandman@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.128.8832-488
2024-11-17 11:59:45 -05:00
Sandy
2c33050257 ci: Update deprecated upload-artifact v1.128.8832-487 2024-11-13 19:57:16 -05:00
Vincent Lee
b12eb2882a Fix bgfx_compile_shaders section of README.md v1.128.8832-486 2024-11-07 08:10:32 -05:00
Andrew Feng
1139067c7d Improve shader profile extension to be more compatible with bgfx (#247)
* remove profile extension incompatible with those listed under examples/runtime/shaders; fix incorrect parameter names; enforce consistent syntax when appending to CLI.

* remove dx9

* add separate profile extension for paths vs profile extension
v1.128.8832-485
2024-11-05 12:41:12 -05:00
Matt Tytel
b135fa3d77 Fixing wayland cmake definitions and linkage. v1.128.8832-484 2024-11-05 10:24:53 -05:00
dependabot[bot]
9af6a48ce0 build(deps): bump the submodules group with 3 updates (#252) v1.128.8832-483 2024-11-05 14:56:44 +00:00
dependabot[bot]
f531516396 build(deps): bump the submodules group across 1 directory with 2 updates
Bumps the submodules group with 2 updates in the / directory: [bgfx](https://github.com/bkaradzic/bgfx) and [bx](https://github.com/bkaradzic/bx).


Updates `bgfx` from `409fbc5` to `7e5bb54`
- [Commits](409fbc5d14...7e5bb54a3e)

Updates `bx` from `3d53a4a` to `296dfb2`
- [Commits](3d53a4abaa...296dfb202b)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.128.8808-482
2024-10-02 14:21:33 -04:00
Boyu
94184872a8 Fix incorrect adding .h in bgfx_compile_shaders (#245) v1.128.8786-481 2024-09-10 19:10:48 -04:00
dependabot[bot]
4ceffda6de build(deps): bump the submodules group across 1 directory with 3 updates
Bumps the submodules group with 3 updates in the / directory: [bgfx](https://github.com/bkaradzic/bgfx), [bx](https://github.com/bkaradzic/bx) and [bimg](https://github.com/bkaradzic/bimg).


Updates `bgfx` from `af12904` to `409fbc5`
- [Commits](af12904d8c...409fbc5d14)

Updates `bx` from `e7ede51` to `3d53a4a`
- [Commits](e7ede513dc...3d53a4abaa)

Updates `bimg` from `2afa64c` to `aaf9125`
- [Commits](2afa64c14c...aaf9125234)

---
updated-dependencies:
- dependency-name: bgfx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bx
  dependency-type: direct:production
  dependency-group: submodules
- dependency-name: bimg
  dependency-type: direct:production
  dependency-group: submodules
...

Signed-off-by: dependabot[bot] <support@github.com>
v1.128.8786-480
2024-08-03 10:36:09 -04:00
Sandy
8defeece11 Update compile shaders example v1.128.8777-478 v1.128.8777-479 2024-07-20 19:46:27 -04:00