Commit Graph

7956 Commits

Author SHA1 Message Date
Бранимир Караџић
227ea05dee Fixed transient vertex buffer when vertex layout allocation fails. 2021-09-16 18:32:58 -07:00
Andrew Willmott
1a001a67db
Fix RG16F typo () 2021-09-16 07:23:27 -07:00
Бранимир Караџић
7559cb20bf Updated cgltf. 2021-09-13 19:32:22 -07:00
Бранимир Караџић
3aa6853e40 Updated ImGui. 2021-09-13 19:29:32 -07:00
Бранимир Караџић
403b69db78 Cleanup. 2021-09-10 23:26:09 -07:00
Бранимир Караџић
9ecd462538 Cleanup. 2021-09-09 09:50:17 -07:00
James Fulop
bbc2b76948
Dxgi tearing support ()
* present tearing support

* use existing syncInterval variable
2021-09-09 07:20:01 -07:00
Бранимир Караџић
f1ddf67114 Added initializer types. 2021-09-06 09:03:26 -07:00
Julian Sikorski
9ab8494bdd
Fix crash when switching to fullscreen with vulkan ()
Without this change, running examples under XWayland, SDL and vulkan
renderer results in a crash. Credit goes to @pezcode:
https://github.com/bkaradzic/bgfx/issues/2593#issuecomment-905462527
2021-08-30 08:33:37 -07:00
Daniel Collin
0a4ed20b59
Cleanup bgfx.idl () 2021-08-29 11:07:02 -07:00
Бранимир Караџић
f26885aaed Removed travis-ci. 2021-08-25 10:58:41 -07:00
Бранимир Караџић
ee0fbea726 Added AGC renderer stub. 2021-08-24 19:35:09 -07:00
pezcode
ec7cb7608e
Fix textureGather in example 39 () 2021-08-24 19:30:27 -07:00
pezcode
f80d31f1f4
HLSL: add textureGather for all components () 2021-08-24 17:26:03 -07:00
Бранимир Караџић
0a85c30bdb Updated ImGui. 2021-08-22 19:12:58 -07:00
Бранимир Караџић
46283a47a9 Updated vulkan headers. 2021-08-22 19:11:52 -07:00
Бранимир Караџић
07fade381b Updated spirv-tools. 2021-08-22 19:11:43 -07:00
Бранимир Караџић
da2dbab80f Updated spirv-headers. 2021-08-22 19:10:19 -07:00
Бранимир Караџић
326f8c6991 Updated glslang. 2021-08-22 19:10:07 -07:00
Бранимир Караџић
39e3d51fa1 Updated ImGui. 2021-08-20 09:48:36 -07:00
Бранимир Караџић
4f44a506a8 Updated ImGui. 2021-08-20 07:16:28 -07:00
pezcode
103179f74d
Vulkan: fix present elapsed calculation () 2021-08-20 07:15:27 -07:00
pezcode
d77f8686f9
Vulkan: fix layer calculation for (cubemap) array texture update () 2021-08-20 07:15:10 -07:00
attilaz
1f0b90ecdb
Added Off The Road Unleashed to README () 2021-08-19 07:20:10 -07:00
Бранимир Караџић
568ee4ceac Cleanup. 2021-08-18 09:27:12 -07:00
DarkContact
8f60971dd6
fix deadlock and remove unused bx::Error () 2021-08-18 09:22:55 -07:00
Бранимир Караџић
be0e7ef307 Added link to help needed. 2021-08-17 13:10:08 -07:00
Бранимир Караџић
925fbe30ae Cleanup. 2021-08-14 12:39:50 -07:00
Бранимир Караџић
962a446055 Cleanup. 2021-08-14 08:33:25 -07:00
James Fulop
82ed74ddb6
cleanup ()
* cleanup

remove unused macro parameters

* de-macro CASE_IMPLEMENT_UNIFORM in d3d11, d3d12, mtl, vk

* fix whitespace

* remove undef of macro that was deleted

* collapse switch statements
2021-08-14 06:57:30 -07:00
pezcode
e8281f8656
Vulkan: correctly resolve attachments of destroyed framebuffer () 2021-08-09 13:42:54 -07:00
pezcode
ae111f1946
Vulkan: fix RGBA8 backbuffer capture () 2021-08-09 13:42:00 -07:00
jwdevel
59a73fe9d3
Improve detection of EXT_gpu_shader4 ()
This extension is used to detect support for gl_InstanceID and gl_VertexID. However, in more recent
versions of OpenGL, this is built-in functionality. On my system, it does not list that extension,
even though it supports those features, but BGFX was not detecting that.

Updated detection to look for GL>=3.1.

Note 1: even with this change, you do need to compile BGFX with the appropriate
BGFX_CONFIG_RENDERER_OPENGL value (>=31). The default of 21 is not high enough.

Note 2: Even with all of the above, you will likely hit issues with duplicate '#version' lines in
the generated shader code. For that, see issue #xxxx.

fixes issue 
2021-08-07 18:02:08 -07:00
Бранимир Караџић
39b018b3f7 Updated spirv-cross. 2021-08-06 19:13:44 -07:00
Бранимир Караџић
e67311db7e Updated spirv-tools. 2021-08-06 19:13:12 -07:00
Бранимир Караџић
f4642f5ba6 Updated spirv-headers. 2021-08-06 19:12:59 -07:00
Бранимир Караџић
0260fe6204 Updated glslang. 2021-08-06 19:12:41 -07:00
Matt Tytel
25ef0e5c85
Weird fix for frame rate doubling after second created window. ()
* Weird fix for frame rate doubling after second created window.

* Don't double buffer with vsync in metal to prevent 2x fps instead.

* Setting number of back buffers in metal if available.

* Better function call syntax.

* Matching maxFrameLatency to maximumDrawableCount in Metal backend.
2021-07-30 08:39:11 -07:00
Бранимир Караџић
2ec34699af Fix build. 2021-07-27 05:38:44 -07:00
Бранимир Караџић
8a0ae08123 Updated spirv-cross. 2021-07-26 17:38:51 -07:00
Бранимир Караџић
b42d4cc558 Updated spirv-tools. 2021-07-26 17:38:43 -07:00
Бранимир Караџић
be1bf8ec0d Updated spirv-headers. 2021-07-26 17:38:25 -07:00
Бранимир Караџић
6538544f2f Updated glslang. 2021-07-26 17:37:42 -07:00
Бранимир Караџић
d208b18a21 Updated vulkan headers. 2021-07-26 17:37:28 -07:00
Бранимир Караџић
b81511a6af Updated meshoptimizer. 2021-07-26 17:36:58 -07:00
Бранимир Караџић
7b49ea5402 Updated ImGui. 2021-07-26 17:36:47 -07:00
C.Even
13e6100681
Fix shaderc consistency ()
* shaderc: Initialize 'texFormat' in uniform.

* glsl-optimizer: Fix consistency error of 'print_float'
2021-07-20 06:06:56 -07:00
Nathan Reed
2f1e14ea82
Use already injected RenderDoc dll, or load it from default location ()
* Use already injected RenderDoc dll, or load it from default location

- on Windows, if the process was launched from RenderDoc and the dll is already injected, use it
- otherwise try to load the dll from the default installation path in Program Files
- doesn't need the dll to be copied next to the exe or in the system PATH, which is not the supported way to do it according to BaldurK - see https://github.com/baldurk/renderdoc/issues/2279#issuecomment-844588691

* Restore previous implementation of findModule

* Address PR feedback

Co-authored-by: Nathan Reed <nareed@adobe.com>
2021-07-19 17:33:02 -07:00
Barrett Kepler
c8b32d38dd
Add compute shader type to shaderc help. () 2021-07-18 16:53:24 -07:00
Бранимир Караџић
d95a643603 Updated README. 2021-06-27 13:22:28 -07:00