Commit Graph

3149 Commits

Author SHA1 Message Date
Бранимир Караџић
0755f50fd2 Fixed #2690. 2021-12-20 16:59:13 -08:00
Ravbug
ffc66a4c3c Fix use of constant only available on macOS 12+ (#2689) 2021-12-20 13:41:03 -08:00
Бранимир Караџић
949142a75f Metal: Added GPU vendorId/deviceId detection. Fixed #2688. 2021-12-19 23:11:33 -08:00
Aleš Mlakar
457cdf6db5 MTL: Use default frame latency if 0 provided (#2680)
Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2021-12-07 08:54:45 -08:00
Cedric Guillemet
64a28415a8 Disable Batch indirect mode for Microsoft WARP (#2672)
* Disable Batch indirect mode for Microsoft WARP

* idl

Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
2021-12-01 11:19:47 -08:00
Christophe Dehais
c0729cb09b Use m_gles3 flag more extensively (instead of compile-time ES version) (#2665) 2021-11-19 07:26:47 -08:00
Christophe Dehais
08cd17e3b8 Check if gl_Frag[Data/Color] are not already patched (#2661) 2021-11-18 13:12:38 -08:00
Cedric Guillemet
77f36d79cc no more optional param for bx:write (#2662)
Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
2021-11-18 13:10:59 -08:00
Бранимир Караџић
2cdba37415 GL: Fixed update surface size when texture is transcoded. 2021-11-11 20:00:18 -08:00
Branimir Karadžić
da8a5ff449 VK: Fixed update surface size when texture is transcoded. 2021-11-11 17:39:41 -08:00
Branimir Karadžić
67d1cce8f8 D3D1x: Fixed update surface size when texture is transcoded. 2021-11-11 15:46:29 -08:00
Christophe Dehais
65ae59a82b Fix 3D blit test (#2651)
bi.m_depth == 1 for usual 2D blit
2021-11-08 09:44:16 -08:00
Бранимир Караџић
6d1791ae2c Cleanup. 2021-11-04 06:53:08 -07:00
Бранимир Караџић
fab6e8409b Cleanup. 2021-11-01 18:53:06 -07:00
Бранимир Караџић
5fd83e7a41 Added BGFX_TEXTURE_BLIT_DST validation. 2021-11-01 18:27:20 -07:00
Бранимир Караџић
5bc3b18227 Cleanup. 2021-10-31 20:51:13 -07:00
Christophe Dehais
dd7fb33595 Fix layout transitions during series of blit (#2640) 2021-10-31 20:40:17 -07:00
Christophe Dehais
149d870f19 Accept external WebGL context (#2643) 2021-10-28 07:16:50 -07:00
pezcode
9f3b3d38c5 Fix isTextureValid number of layers check (#2639) 2021-10-27 09:27:15 -07:00
Бранимир Караџић
932d2f21e7 Cleanup. 2021-10-27 08:17:41 -07:00
Бранимир Караџић
aa7bee3e2b Cleanup. 2021-06-19 13:45:39 -07:00
Бранимир Караџић
6a46e3dd52 Fixed OSX build. 2021-06-19 13:41:13 -07:00
Branimir Karadžić
7bfb8a7b38 More fixes. 2021-10-25 19:15:55 -07:00
Branimir Karadžić
2cfba5474d Fixed windows build. 2021-10-25 19:10:41 -07:00
Бранимир Караџић
8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Бранимир Караџић
2d9e6e7f4f Added setTexture validation to check for read back texture. 2021-10-14 21:03:26 -07:00
Branimir Karadžić
46384208ad Define WIN32_LEAN_AND_MEAN if it's not defined when including windows.h. 2021-10-13 20:18:03 -07:00
Бранимир Караџић
84a38eede0 Cleanup. 2021-10-13 19:54:27 -07:00
Бранимир Караџић
f99a6b4246 Fixed bug. 2021-10-03 09:13:28 -07:00
Бранимир Караџић
8bf13f7f4f dxgi: Prettify memory info. 2021-10-02 16:21:30 -07:00
Бранимир Караџић
03fbf9d42b dxgi: Fixed string format. 2021-10-02 16:13:13 -07:00
Бранимир Караџић
7b13de371a dxgi: Fixed string format. 2021-10-02 11:32:25 -07:00
Бранимир Караџић
73db386165 Added uniform name validation. 2021-09-30 17:24:36 -07:00
Бранимир Караџић
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
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
Бранимир Караџић
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
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
Бранимир Караџић
ee0fbea726 Added AGC renderer stub. 2021-08-24 19:35:09 -07:00
pezcode
f80d31f1f4 HLSL: add textureGather for all components (#2595) 2021-08-24 17:26:03 -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
Бранимир Караџић
925fbe30ae Cleanup. 2021-08-14 12:39:50 -07:00
Бранимир Караџић
962a446055 Cleanup. 2021-08-14 08:33:25 -07:00