Commit Graph

3174 Commits

Author SHA1 Message Date
Ravbug
e7fdfa73c1 Add support in Metal and Vulkan for [earlydepthstencil] (#2764) 2022-04-07 09:42:04 -07:00
Бранимир Караџић
5404a29540 Updated version number. 2022-04-06 18:54:03 -07:00
Miguel Ángel
5ae2271667 Replaced VK_FORMAT_D24_UNORM_S8_UINT with the more supported VK_FORMAT_D32_SFLOAT_S8_UINT (#2755)
Co-authored-by: Miguel Ángel Pérez Martínez <miguel_angel_perez_martinez@not_an_email.com>
2022-04-01 07:27:42 -07:00
Бранимир Караџић
f86499b726 Updated version number. 2022-03-31 18:42:28 -07:00
Christophe Dehais
f44818b548 Import glDrawBuffers() from WEBGL_draw_buffers extension (#2667) 2022-03-31 18:27:24 -07:00
James Fulop
d9cdc67993 add missing semicolon (#2751) 2022-03-30 07:26:40 -07:00
Sandy
251e35ae09 Fixes for shader texture array in GLES3 (#2750)
* opengl: use texture for texture2DArray

* shaderc: Add default precision for sampler2DArray on GLES3
2022-03-29 13:14:21 -07:00
Sandy
c0cbaf2a43 gl: Get maxTextureLayers on versions 3.0 and up (#2749) 2022-03-29 10:57:33 -07:00
pezcode
d7a8e50d26 Fix resource register macro expansion (#2747)
The preprocessor library (fcpp) has issues with ## and doesn't expand
properly. We can work around that by using the [reg] syntax which is
supported for all shader targets that internally use HLSL through glslang.
2022-03-22 20:47:29 -07:00
Alexander
6a1809baa2 Use depth in default sort mode (#2744)
submit param _depth is no longer ignored when using default sort mode
2022-03-14 08:58:59 -07:00
Branimir Karadžić
da9e2f0400 D3D12: Fixed texture array update. 2022-03-05 16:44:56 -08:00
Christophe Dehais
6c9248914e Fix leaked FBO for depth/stencil only view (#2738) 2022-03-04 09:48:50 -08:00
Бранимир Караџић
ae7aeba72c GL: Fixed vertex layout binding. 2022-02-25 17:21:55 -08:00
Bruno Croci
4f3328edb3 Added textureCube macro for GLSL >= 130. (#2728)
`textureCube` requires extension `GL_NV_shadow_samplers_cube`, however `texture` can sample a cube sampler without the extension.
2022-02-21 19:41:28 -08:00
Бранимир Караџић
3d4bd88c06 Updated version number. 2022-02-12 10:01:31 -08:00
Kitchen
e42fe374c3 fix only msaa depth texutre in frame buffer error on iOS platform (#2725) 2022-02-09 06:29:14 -08:00
pezcode
4b04a8ced8 Vulkan: replace deprecated version macros (#2721) 2022-02-06 17:32:03 -08:00
luzpaz
6875e96bcb Fix various typos (#2719)
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,utput`
2022-02-05 11:34:15 -08:00
Бранимир Караџић
9f04292f40 Metal: Fixed texture creation. 2022-01-30 20:18:48 -08:00
Fabio Soldati
4a922e34da Fixed wrong comparison of maxTextureSize (#2718)
Co-authored-by: Fabiz <info@peakfinder.org>
2022-01-30 08:14:19 -08:00
Бранимир Караџић
134d1787e7 Updated version number. 2022-01-15 18:03:14 -08:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
ShuangLiu1992
a6511598db Update glcontext_nsgl.mm (#2705)
[glContext update]; and [glContext setView:glView]; always needs to be called from main thread
2022-01-07 07:55:53 -08:00
Бранимир Караџић
af68e138fe Cleanup. 2021-12-31 09:43:21 -08:00
Бранимир Караџић
99a7af712f Added more info about transparency sort table. 2021-12-26 09:21:02 -08:00
Бранимир Караџић
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