Commit Graph

7923 Commits

Author SHA1 Message Date
Бранимир Караџић
22d5747719 Cleanup. 2021-09-30 17:24:16 -07:00
pezcode
be2c110781
Vulkan: raise maximum number of swapchain images (#2619) 2021-09-30 15:01:39 -07:00
Cedric Guillemet
f9436baea3
store action was not set when clearWithRenderPass false and MSAA on (#2613)
Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
2021-09-30 11:26:18 -07:00
Gaetan de Villele
89b6c25c4a
fix usage of fatal() function when Clang analyzer is used (#2617) 2021-09-27 19:07:32 -07:00
James Fulop
dfb84e4913
add Guild Wars 2 to #madewithbgfx (#2615) 2021-09-27 19:03:24 -07:00
MooZ
b8d2f01b98
Fixed shadow map sampling for 130 and above glsl profiles. (#2496)
* Fixed shadowmap sampling for 130 and above glsl profiles.

* Fixed shadowmap sampling on OpenGL ES 3 and onwards.
2021-09-27 07:03:06 -07:00
Бранимир Караџић
fc461ce8b1 Updated vulkan headers. 2021-09-25 22:43:36 -07:00
Бранимир Караџић
3c9591d9f9 Cleanup. 2021-09-25 22:30:42 -07:00
Бранимир Караџић
85b370fa37 Updated cgltf. 2021-09-25 20:00:08 -07:00
Бранимир Караџић
ca8b00484a Updated spirv-cross. 2021-09-25 19:59:59 -07:00
Бранимир Караџић
4a4d240746 Updated spirv-tools. 2021-09-25 19:59:49 -07:00
Бранимир Караџић
e6636b8b5f Updated glslang. 2021-09-25 19:59:37 -07:00
Бранимир Караџић
4ac88cde27 Updated spirv-headers. 2021-09-25 19:59:21 -07:00
Бранимир Караџић
133b7ce91f Updated ImGui. 2021-09-25 19:41:03 -07:00
Бранимир Караџић
23994e7f23 Bounds: Overlap aabb/obb, and obb/obb. 2021-09-25 19:20:06 -07:00
Christophe Dehais
ad8e7eb974
Simplify vulkan texture resolve (#2611) 2021-09-22 09:20:48 -07:00
Gary Hsu
79d1b4db56
Fix bug when sampler min/mag is anisotropic but mip is point (#2609) 2021-09-21 18:13:49 -07:00
Бранимир Караџић
227ea05dee Fixed transient vertex buffer when vertex layout allocation fails. 2021-09-16 18:32:58 -07:00
Andrew Willmott
1a001a67db
Fix RG16F typo (#2603) 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 (#2601)
* 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 (#2598)
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 (#2597) 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 (#2596) 2021-08-24 19:30:27 -07:00
pezcode
f80d31f1f4
HLSL: add textureGather for all components (#2595) 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 (#2592) 2021-08-20 07:15:27 -07:00
pezcode
d77f8686f9
Vulkan: fix layer calculation for (cubemap) array texture update (#2591) 2021-08-20 07:15:10 -07:00
attilaz
1f0b90ecdb
Added Off The Road Unleashed to README (#2590) 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 (#2589) 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 (#2579)
* 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 (#2576) 2021-08-09 13:42:54 -07:00
pezcode
ae111f1946
Vulkan: fix RGBA8 backbuffer capture (#2575) 2021-08-09 13:42:00 -07:00
jwdevel
59a73fe9d3
Improve detection of EXT_gpu_shader4 (#2572)
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 #2570
2021-08-07 18:02:08 -07:00