Commit Graph

8433 Commits

Author SHA1 Message Date
Biswapriyo Nath
ae616e449c
CI: Add osx-x64 builds (#2943) 2022-10-03 12:35:53 -07:00
Бранимир Караџић
24c5c2f096 shaderc: Updated to new glslang. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
b61c3cc15a Updated spirv-cross. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
395e277844 Updated spirv-tools. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
e6127039fe Updated spirv-headers. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
dfed2c0752 Updated glslang. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
7006e0ce35 Updated vulkan headers. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
b4e46ffbd0 Updated ImGui. 2022-10-02 23:18:33 -07:00
Бранимир Караџић
c25aab33eb Updated cgltf. 2022-10-02 23:18:33 -07:00
Biswapriyo Nath
d9c5475cf1
CI: Fix wasm build running genie in host (#2940)
Changes:
  * Move the project generation command in prepare step to run in host ubuntu-22.0 os.
  * Add EMSCRIPTEN explicitly in both prepare and build step.
  * Run make command with respect to root bgfx workspace directory.
2022-10-02 22:45:48 -07:00
Chris1AA
e24b08d8c8
Update README.md (#2939) 2022-10-02 21:34:25 -07:00
Бранимир Караџић
0183e7855f GHA: Try to fix wasm build. 2022-10-02 20:47:54 -07:00
Бранимир Караџић
d312be36a5 GHA: Try to fix wasm build. 2022-10-02 20:41:24 -07:00
Бранимир Караџић
67cbd290f7 GHA: Try to fix wasm build. 2022-10-02 20:36:07 -07:00
Бранимир Караџић
14a257f184 GHA: Try to fix wasm build. 2022-10-02 20:34:35 -07:00
Бранимир Караџић
27b86b4162 GHA: Switch to ubuntu-22.04. 2022-10-02 20:13:51 -07:00
Бранимир Караџић
e87f08b1e5 Cleanup. 2022-10-01 08:48:57 -07:00
Бранимир Караџић
76923d21d9 Cleanup. 2022-10-01 08:29:58 -07:00
Biswapriyo Nath
adf5c354b7
scripts: Fix unknown compiler flag for clang (#2934)
This fixes the following warnings with clang based toolchain

warning: unknown warning option '-Wno-logical-op'; did you mean '-Wno-long-long'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
2022-09-29 07:52:17 -07:00
Бранимир Караџић
905d524b1e Removed AppVeyor CI. 2022-09-23 22:13:14 -07:00
Biswapriyo Nath
14617c4700
CI: Add wasm builds (#2932) 2022-09-23 22:12:13 -07:00
Бранимир Караџић
2d6c85ac7a Fixed emscripten build. 2022-09-23 10:01:47 -07:00
Бранимир Караџић
50ee60c122 [skip CI] Fail-fast. 2022-09-23 07:18:05 -07:00
Бранимир Караџић
76dcd4dc74 Updated docs. 2022-09-23 07:18:05 -07:00
Biswapriyo Nath
956154bf8a
[skip ci] Add GitHub Actions badge in readme (#2931) 2022-09-23 06:35:47 -07:00
Biswapriyo Nath
07a7fa074c
CI: Cancel any in-progress job or run (#2930)
See https://docs.github.com/en/actions/using-jobs/using-concurrency
2022-09-22 23:21:44 -07:00
Бранимир Караџић
79b5ea7351 Cleanup. 2022-09-22 20:32:36 -07:00
Бранимир Караџић
458e2b7243 Updated docs. 2022-09-22 19:10:23 -07:00
Бранимир Караџић
d8370ecb03 Cleanup. 2022-09-22 19:01:30 -07:00
Бранимир Караџић
01f308dd58 GL: Fixed instace data offset when i_dataX is missing in shader. 2022-09-20 20:48:48 -07:00
Biswapriyo Nath
dfa9c9fb83
CI: Add GitHub Actions (#2929) 2022-09-18 21:50:57 -07:00
Biswapriyo Nath
82ad2eac7a
clang-mingw: Enable building tools and examples (#2928)
Add comdlg32 library for GetOpenFileNameA API.
2022-09-18 20:11:51 -07:00
Бранимир Караџић
bd696118bb Fixed warning. 2022-09-18 19:24:08 -07:00
Бранимир Караџић
e4be44e92b Updated API version. 2022-09-18 19:11:58 -07:00
jwdevel
f1f77a6cd3
Record frame num in view stats (#2908)
* Add 'frameNumber' to Frame struct

Previously, the frame number returned from bgfx::frame() was tracked separately in the Context. Now,
we store that information in the Frame. This will allow us to attach the frame number to ViewStats.

* Add frame number to ViewStats

When ViewStats are enabled, we tag each timer query with the current frame number, then include
that information in the final results. In this way, clients can correlate specific work that they
submitted to specific GPU timing information.

NOTE: Some backends not implemented, yet. They will always have 0 for frame number.
The ones which are implemented are:
 * OpenGL
 * Vulkan
 * D3D 9,11,12
 * Noop
2022-09-18 19:09:48 -07:00
Бранимир Караџић
6be057ba5c Updated IDL bindings. 2022-09-17 23:01:14 -07:00
Бранимир Караџић
0ac00d9545 Fixed warning. 2022-09-17 21:47:11 -07:00
Бранимир Караџић
dc2f5e1e96 Updated docs. 2022-09-17 21:43:22 -07:00
Бранимир Караџић
d30032984b D3D9: Enable compilation on Linux. 2022-09-17 19:59:35 -07:00
Бранимир Караџић
7ffeaefad2 API version 116. 2022-09-17 18:18:51 -07:00
pezcode
ba467be036
Add support for indirect draw with indirect count (#2925)
* Add indirect draw with indirect count (BGFX_CAPS_DRAW_INDIRECT_COUNT)

* Update bindings

* VK: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* D3D12: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* GL: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* 48-drawindirect: Use BGFX_CAPS_DRAW_INDIRECT_COUNT if available

* 48-drawindirect: Update shaders
2022-09-17 18:16:19 -07:00
Branimir Karadžić
408988946d Cleanup. 2022-09-16 20:12:31 -07:00
Бранимир Караџић
cbbaba4099 Cleanup. 2022-09-16 19:32:41 -07:00
blackhole
2b11045331
Example 49 - hextile (Changes to fix regular tiling (tiling rate) to match hex tile rate) (#2924) 2022-09-16 13:48:19 -07:00
Бранимир Караџић
c0a7e838b3 D3D11: Enable texture format enumeration on Linux. 2022-09-15 23:29:27 -07:00
Бранимир Караџић
4faed7cc2b Cleanup. 2022-09-15 22:26:41 -07:00
Бранимир Караџић
4c0baf5603 D3D11: Enable compilation on Linux. 2022-09-15 22:13:34 -07:00
Бранимир Караџић
1fa7570ef8 Fixed DX headers. 2022-09-15 22:07:35 -07:00
Бранимир Караџић
adb4839c63 Updated docs. 2022-09-15 19:13:00 -07:00
blackhole
a8a10b0b89
Adds example 49-hextile (#2922)
* First commit - tested with dx11 on windows

* Minor changes & adding some comments.

* Update hextile.cpp

* update some bin files

* rename texture

* minor comment update

* Added support to configure tile rate as well as tile rotation strength, update bin files & screenshot

* use texture from polyhaven, updated screenshot, updated bin files & minor changes to shader.

* missed pushing texture

* update license

* Update hextile.cpp

* Fix regular tiling

* use ktx with mipmaps

* minor change to ensure that regular tiling & hextile matches with default tile rate.

* minor c

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-09-15 19:03:07 -07:00