Commit Graph

8184 Commits

Author SHA1 Message Date
Бранимир Караџић
c2acc14216 Updated ImGui. 2022-07-10 10:30:36 -07:00
bdunkin
f9ab3b5c68
Increase the buffer size if necessary before adding markers (#2838) 2022-07-08 11:46:03 -07:00
astrofra
b38389f04e
Added a presentation of HARFANG 3D. (#2829)
* Added a presentation of HARFANG 3D to the readme file.

* Simplified the HARFANG description.
2022-06-27 00:00:18 -07:00
Gary Hsu
db44d5675f
Fixes when running in WinRT (#2827)
* Use ResizeBuffers for WinRT

* Set maximum frame latency for WinRT

* Remove extra space
2022-06-23 22:13:38 -07:00
Бранимир Караџић
296ed0a81e Cleanup. 2022-06-20 21:16:17 -07:00
SnapperTT
f8f394bdf2
Update callback.cpp (#2826) 2022-06-20 21:15:19 -07:00
SnapperTT
a2268940bb
Fix #2824, gcc 12.1 build issues (#2825)
* Update shadowvolumes.cpp

* Update stencil.cpp
2022-06-20 08:10:10 -07:00
Бранимир Караџић
a153458735 Cleanup. 2022-06-20 05:58:22 -07:00
Бранимир Караџић
aaba3b3a5e Cleanup. 2022-06-20 04:39:25 -07:00
SnapperTT
498d0b6e54
Update nanovg_bgfx.cpp (#2823)
Fix the transient vertex buffer's overflow assert being fired. Now if the tvb is overflowed a warning is emitted and the draw is skipped
2022-06-20 04:37:59 -07:00
Бранимир Караџић
6d65944eda Updated docs. 2022-06-19 08:12:15 -07:00
Бранимир Караџић
2215e67ee1 Fixed ImGui assert. 2022-06-17 00:17:37 -07:00
Cedric Guillemet
607a775009
FS Quad/MSAA for GLES3 (#2820) 2022-06-15 07:44:25 -07:00
Cedric Guillemet
f0cf1794e7
Fix MSAA with ARM Mali OpenGL ES (#2818)
* Fix MSAA with ARM Mali OpenGL ES

* indenting
2022-06-15 03:35:19 -07:00
Бранимир Караџић
6cf243f469 Cleanup. 2022-06-04 11:03:41 -07:00
Бранимир Караџић
05b60be3c2 Remove 17-drawstress from Emscripten build. 2022-06-02 12:03:01 -07:00
Catalin Moldovan
9204a536dd
Fixed indentation on zig wrapper functions and converted to uppercase 2D/3D (#2809) 2022-05-29 07:50:14 -07:00
Бранимир Караџић
664bb5ca21 39-assao: Rebuilt spir-v shaders. 2022-05-25 09:24:31 -07:00
Catalin Moldovan
f0741047d8
more idiomatic zig bindings (#2804) 2022-05-22 18:43:03 -07:00
Бранимир Караџић
3d5d59e08c Updated vulkan headers. 2022-05-21 18:47:41 -07:00
Бранимир Караџић
f294ee6858 Updated spirv-cross. 2022-05-21 18:47:14 -07:00
Бранимир Караџић
6bbda98efa Updated spirv-tools. 2022-05-21 18:47:06 -07:00
Бранимир Караџић
a883ee37c3 Updated glslang. 2022-05-21 18:46:55 -07:00
Бранимир Караџић
b8091498a3 Updated ImGui. 2022-05-21 18:06:58 -07:00
Бранимир Караџић
24765f8967 Cleanup. 2022-05-21 18:02:37 -07:00
Бранимир Караџић
05b9355ac2 Discard state before touch. Fixed issue #2803. 2022-05-21 08:48:24 -07:00
Branimir Karadžić
8e7774f735 Fixed build. 2022-05-17 11:30:10 -07:00
Julian Xhokaxhiu
89ae74122c
OpenGL: Enable sRGB texture format support for BC7 (#2800) 2022-05-17 10:54:37 -07:00
Бранимир Караџић
6601b01430 Cleanup. 2022-05-17 07:07:10 -07:00
Alexander Knorre
7b1d6a98a9
Compute kSortKeyViewNumBits automatically. (#2796)
Compute kSortKeyViewNumBits automatically via log2(BGFX_CONFIG_MAX_VIEWS), so that we could change BGFX_CONFIG_MAX_VIEWS to be above 2^10 = 1024 without changing the `bgfx` source code.
One possible problem with this approach is running out of bits, so maybe we could assert for that, I am not sure where to do it and how many bits we can use though.
Using `bx::uint32_cntlz` because `bx::log2` is not constexpr.
Tested on linux opengl with BGFX_CONFIG_MAX_VIEWS=4096, seems to work.
2022-05-15 19:24:53 -07:00
Бранимир Караџић
36be8a72cc Fixed blit key encoding. 2022-05-14 21:26:20 -07:00
Бранимир Караџић
ae5706693f Cleanup. 2022-05-13 17:41:30 -07:00
Бранимир Караџић
8274f8a6e2 Updated vulkan headers. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
189b020b90 Updated spirv-cross. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
557b9743fb Updated spirv-tools. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
4dbb926746 Updated spirv-headers. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
70732ad420 Updated glslang. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
71fc5457e6 Updated cgltf. 2022-05-08 09:43:44 -07:00
slewicki
bd8ed86009
Changed WGL_STENCIL_BITS_ARB to match what gets used in createContext (#2791)
On Mesa, the pixel format would match the 0 stencil bits as requested. This change helps bring the pixel format to match what `createContext` would use.
2022-05-06 09:21:05 -07:00
Бранимир Караџић
560669f6c0 Cleanup. 2022-05-02 08:50:47 -07:00
Бранимир Караџић
379fc707ff Updated README. 2022-05-01 08:10:39 -07:00
Branimir Karadžić
fe8cab2522 Manually merged PR #2710. 2022-04-26 19:15:15 -07:00
Бранимир Караџић
b8fdc3f8be Cleanup. 2022-04-25 21:13:29 -07:00
Kitchen
35c27cda3d
Metal merge texture format (#2785)
* need check texture format is support read/write

* move read write check to s_textureFormat

* add check BGFX_CAPS_IMAGE_RW

* remove custom read write mask as MTLReadWriteTextureTier

* remove ReadWriteTierMask struct
2022-04-25 19:21:20 -07:00
Бранимир Караџић
ed5e2694dc Cleanup. 2022-04-25 07:19:18 -07:00
Kitchen
f76b678bef
support Metal renderer to auto generate mipmap for render target (#2784)
* support render target auto generate mipmap

* move autoGenMipmap check to s_textureFormat table
2022-04-25 07:11:14 -07:00
Sami Kyöstilä
09d8c34e34
GL: Properly reset FBO after emulated blit (#2782)
Reset the previously bound FBO after rendering an emulated blit instead
of binding the default framebuffer.

Co-authored-by: Sami Kyöstilä <sami.kyostila@unrealvoodoo.org>
2022-04-23 07:25:46 -07:00
Kitchen
33dd76eab5
fix metal renderer set image bug (#2779)
* fix metal renderer set image type bug

* add Binding::Image access check

* move s_accessNames outside of scope
2022-04-22 06:56:35 -07:00
Kitchen
2568ce7311
fix image is not set in pipeline state object in metal renderer (#2780)
* always set pipeline state object 'm_bindingTypes' when argument is texture

* fix the typo error casue cash
2022-04-21 20:11:37 -07:00
TooMuchVoltage Software Inc
f6e0db1969
Fixing shadow2DProj in GLSL (#2775)
Removing erroneous extra bracket for aliasing shadow2DProj in GLSL. Would have caused compilation failure if used.
2022-04-20 06:33:17 -07:00