Commit Graph

8594 Commits

Author SHA1 Message Date
Christophe Dehais
3868c762f5
Fix textureXXXBias() macro definitions for glsl >= 130 (#2954) 2022-10-13 07:38:50 -07:00
Бранимир Караџић
9bb2dbdb70 Updated meshoptimizer. 2022-10-11 19:54:30 -07:00
Бранимир Караџић
cc51fd8c38 Updated ImGui. 2022-10-11 19:53:53 -07:00
Бранимир Караџић
27602120e9 Deleted bad conversion code. 2022-10-11 07:15:45 -07:00
Бранимир Караџић
a855f1cf2d Cleanup. 2022-10-07 17:30:27 -07:00
Ciro Mondueri
bf411dd393
d3d12: fixes triangle list primitive state change not ackd. after touch call (#2951)
Suppose this is the draw call sequence in a frame:
- triangle strip
- touch (required to apply stencil changes for example)
- triangle list

Touch masks the change (as it's triangle list by default) by setting
changedFlags, but not primIndex. When the triangle list is processed,
the STATE_PT is already set to triangle list, so the test for
changedFlags is skipped and primIndex stays with triangle strip.

The fix detects the change in the STATE_PT and updates primIndex.
2022-10-07 17:28:18 -07:00
Cedric Guillemet
c3afd0e31d
Remove alpha-premultiplied postprocess (#2948) 2022-10-06 07:06:45 -07:00
Alexander
0b47f9e8de
Added Equilibrium Engine to the README (#2950) 2022-10-06 07:05:43 -07:00
Бранимир Караџић
8a405a0c73 Improved internal handle. 2022-10-05 21:10:19 -07:00
Бранимир Караџић
50250df026 Cleanup. 2022-10-03 20:43:48 -07:00
Branimir Karadžić
a06ee14802 Fixed issue #2944. 2022-10-03 20:19:19 -07:00
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