Commit Graph

8558 Commits

Author SHA1 Message Date
Julian Sikorski
8b6a6bdf0e
Fix building for glfw and wayland (#3151)
Co-authored-by: Julian Sikorski <belegdol@fedoraproject.org>
2023-07-31 07:14:04 -07:00
Бранимир Караџић
2d66d7875f Updated spirv-cross. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
efb7f66a0e Updated spirv-tools. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
d15c26db2a Updated spirv-headers. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
b471939ffb Updated glslang. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
533a1456fc Updated meshoptimizer. 2023-07-30 16:29:11 -07:00
Бранимир Караџић
c25f5c054b Updated ImGui. 2023-07-30 16:29:11 -07:00
Kitchen
20a1e458da
make TimerQueryMtl.m_result match BGFX_CONFIG_MAX_VIEWS size (#3148)
* fix error when create backbuffer with msaa and srgb format

* fix d3d12 error when create backbuffer with msaa and srgb format

* fix TimerQueryMtl result bug
2023-07-28 15:56:28 -07:00
Robin Allen
506da0443c
Metal: Fix framebuffer hash ignoring sampleCount (#3140) 2023-07-21 18:03:30 -07:00
Robin Allen
c8f6d89f88
Fix MSAA texture pointer not being freed (#3138)
Texture::destroy only freed m_ptr, not m_ptrMsaa. This caused
problems when texture IDs were reused, because a newly-
created texture would sometimes have m_ptrMsaa.
2023-07-20 08:29:47 -07:00
Robin Allen
a50db8f8fd
Fix toggling MSAA on Metal. (#3137)
* Fix toggling MSAA on Metal.

m_backBufferColorMsaa was set when sampleCount > 1, but was never reset when
sampleCount became 1 again.

Many other bits of code in the Metal renderer decide what to do by checking
m_backBufferColorMsaa, so these would all do the wrong thing if you toggled
MSAA on and them back off.

* Cleanup
2023-07-20 08:29:24 -07:00
Бранимир Караџић
485a258077 Updated version. 2023-07-19 20:54:37 -07:00
IchorDev
878767e751
Culled D bindings for header-only C++ functions (#3130)
* Reformatted comments; fixed a couple of oversights

* D bindings: deterministic sub-struct order

* Added missing default to IDL

* Fixed sub-struct linkage; regenerate D binds

* Culled D bindings for header-only C++ functions

* Added missing default to bgfx.idl

* cppinline now supported by all auto-gen bindings

The pattern "func.cppinline and not func.conly" is to make sure that C bindings for `bgfx_vertex_layout_has` are still generated.
2023-07-19 20:53:42 -07:00
Бранимир Караџић
faf69bbe20 Updated ImGui. 2023-07-14 17:43:13 -07:00
Бранимир Караџић
2d80545bb7 Updated spirv-cross. 2023-07-14 17:42:09 -07:00
Бранимир Караџић
9ba15cd473 Updated spirv-tools. 2023-07-14 17:41:59 -07:00
Бранимир Караџић
9ef1db93d9 Updated spirv-headers. 2023-07-14 17:41:47 -07:00
Бранимир Караџић
3d25ee9228 Updated glslang. 2023-07-14 17:41:34 -07:00
Бранимир Караџић
21c22d941c Cleanup. 2023-07-14 17:07:58 -07:00
IchorDev
c3dab115a8
D bindings: deterministic sub-struct order (#3127)
* Reformatted comments; fixed a couple of oversights

* D bindings: deterministic sub-struct order

* Added missing default to IDL

* Fixed sub-struct linkage; regenerate D binds
2023-07-09 08:11:39 -07:00
Бранимир Караџић
c3b5b55a86 Updated docs. 2023-07-08 19:38:32 -07:00
Бранимир Караџић
065f6ddc66 VK: Fixed device selection. 2023-07-07 22:47:12 -07:00
Бранимир Караџић
356c59dbf5 VK: Fixed selecting software rasterizer on Mesa. 2023-07-07 22:19:15 -07:00
IchorDev
d485a56f61
Reformatted comments; fixed a couple of oversights (#3125) 2023-07-07 12:40:22 -07:00
issam3105
e2c5b1d3e1
Fixed EGL library name on Linux (#3122)
* Fixed EGL library name on Linux

* Cleanup.

---------

Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2023-07-04 09:11:07 -07:00
Бранимир Караџић
e78fc5e6b6 Updated version number. 2023-07-01 08:38:29 -07:00
Бранимир Караџић
b2faea00bb Updated IDL. 2023-07-01 08:37:33 -07:00
Бранимир Караџић
4edaf2f21d Updated vulkan headers. 2023-07-01 08:37:19 -07:00
Бранимир Караџић
ec6fe83232 Updated spirv-cross. 2023-07-01 08:37:04 -07:00
Бранимир Караџић
31f48d7de8 Updated spirv-tools. 2023-07-01 08:36:54 -07:00
Бранимир Караџић
0b66150e9b Updated glslang. 2023-07-01 08:36:30 -07:00
Бранимир Караџић
5bc450408c Updated ImGui. 2023-07-01 08:16:39 -07:00
Бранимир Караџић
43aa2b6bca Cleanup. 2023-06-30 18:38:59 -07:00
Branimir Karadžić
787ecc1138 Cleanup. 2023-06-29 09:26:04 -07:00
IchorDev
e74c3a82dd
Made struct order deterministic (hopefully) (#3118) 2023-06-27 09:23:48 -07:00
Бранимир Караџић
93815ab7c7 Cleanup. 2023-06-26 21:16:17 -07:00
Branimir Karadžić
d6a251670a Fixed build. 2023-06-26 20:10:25 -07:00
Бранимир Караџић
e1092698a5 Removed platforms that are not supported anymore. 2023-06-26 20:05:05 -07:00
Бранимир Караџић
b74da5c643 GL: Removed GLX context code. 2023-06-26 19:18:49 -07:00
issam3105
e8eb9782fa
Support OpenGL on EGL (#3115)
Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
2023-06-26 17:06:00 -07:00
Бранимир Караџић
c1afaa88e7 Updated IDL. 2023-06-26 11:22:34 -07:00
IchorDev
cbd83f57ca
New auto-generated D bindings (#3114)
* Added shaderc default defines to docs

* Update tools.rst

* Update tools.rst

* WIP new D bindings

* New bindings "nearly done"

* More unfinished changes

* Nearly done; ctors still don't work

* Bindings auto-generation is done

* New auto-generated D bindings

* Reduced D bindings file count back to 2

---------

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2023-06-26 11:21:22 -07:00
Бранимир Караџић
c913c2e76a Updated version. 2023-06-24 09:55:36 -07:00
Бранимир Караџић
6cedc01d19 Updated spirv-cross. 2023-06-24 09:55:14 -07:00
Бранимир Караџић
aaf0fdf7cf Updated spirv-tools. 2023-06-24 09:55:06 -07:00
Бранимир Караџић
78ebe62890 Updated glslang. 2023-06-24 09:54:56 -07:00
Бранимир Караџић
e1211c2909 Updated spirv-headers. 2023-06-24 09:54:48 -07:00
Бранимир Караџић
6bab752aca Updated meshoptimizer. 2023-06-24 09:54:31 -07:00
Бранимир Караџић
e70d7bb742 Updated ImGui. 2023-06-24 09:54:18 -07:00
Бранимир Караџић
6a858f17da Updated cgltf. 2023-06-24 09:54:01 -07:00