Commit Graph

7185 Commits

Author SHA1 Message Date
Бранимир Караџић
c735560b93 Fixed typo. 2020-02-10 08:59:34 -08:00
Бранимир Караџић
cacf62190b Cleanup. 2020-02-10 08:19:21 -08:00
Wencey Wang
7a506a48d7 Let WinRT dll Build
WinRT dll should also use __declspec to build.
2020-02-10 16:18:21 +00:00
Elviss Strazdins
ff6aa27cae Fix MSAA sample count for Metal 2020-02-10 16:17:56 +00:00
Бранимир Караџић
17db2f79e0 Revert "d3d9: Set RGBA4 to unknown"
This reverts commit c776c2eaaa.
2020-02-08 09:29:14 -08:00
Sandy Carter
c776c2eaaa d3d9: Set RGBA4 to unknown
Color ordering of RGBA4 is wrong and there are no A4B4G4A4 format or swizzling
options.
2020-02-08 09:21:12 -08:00
Sandy Carter
dba8b8efef vulkan: Add swizzle definition to formats
Fix color ordering of RGBA4
2020-02-08 09:21:12 -08:00
Sandy Carter
77fdc487ab opengl: Fix color ordering of RGBA4 2020-02-08 09:21:12 -08:00
attilaz
cb4543cc67 Metal: Fixed compressed texture update
I have tested 08-update on iOS and Mac.
2020-02-07 07:23:17 -08:00
Attila Kocsis
8a3786c59c Added desciption labels to 08-update
Added row of cubes whose compressed texture is created with empty content then updated using bgx::updateTexture2D.

Fixed default srcPitch in d3d11 renderer for compressed textures.
2020-02-07 07:23:17 -08:00
Бранимир Караџић
d05a139ae8 Cleanup. 2020-02-06 20:09:38 -08:00
Бранимир Караџић
db961eacd2 Revert "Move more Mac UI-thread-only calls to main thread"
This reverts commit 9302fa6fe4.
2020-02-06 19:12:35 -08:00
Vladimir Vukicevic
9302fa6fe4 Move more Mac UI-thread-only calls to main thread 2020-02-05 19:25:24 -08:00
Vladimir Vukicevic
8165a837a7 CSharp bindings: move DllName definition to other, optional file 2020-02-05 18:31:31 -08:00
Бранимир Караџић
4a27145184 Updated spirv-cross. 2020-02-04 21:38:12 -08:00
Бранимир Караџић
11137890f7 Updated glslang. 2020-02-04 21:36:48 -08:00
Бранимир Караџић
d86146c96b Updated spirv-tools. 2020-02-04 21:33:12 -08:00
Бранимир Караџић
b53f48f92c Merge branch 'master' of github.com:bkaradzic/bgfx 2020-02-04 19:14:44 -08:00
Бранимир Караџић
2c9600b8e0 Updated cgltf. 2020-02-04 19:14:34 -08:00
stolk
e7b8606146 Properly size the set, so that no overrun happens. 2020-02-04 18:24:59 -08:00
Бранимир Караџић
3002159da9 Fixed state tracking. 2020-02-04 09:51:21 -08:00
Sandy Carter
5924652151 rebind instance data buffer if index offset changes
Fix case of drawing different offsets of indices of same vertex buffer
using same instance data.

This can happen in the case of conditionally drawing subsets of vertex
buffer stored in different offsets of the same index buffer while re-using
non-transient instance buffers.
2020-02-04 07:38:36 -08:00
Бранимир Караџић
f71a9ea0d9 Updated ImGui. 2020-02-03 21:37:22 -08:00
Бранимир Караџић
dc87c12365 Updated ImGui. 2020-02-02 09:20:54 -08:00
Hugo Amnov
fa9abba09f Remove duplicate outdated loading code 2020-02-01 11:56:03 -08:00
Sandy Carter
a38e873f8a rebind instance data buffer if index buffer changes
Fix case of drawing different indices of same vertex buffer using same
instance data.

This can happen in the case of conditionally drawing subsets of vertex
buffer stored in different index buffers while re-using non-transient
instance buffers.
2020-02-01 09:18:51 -08:00
Abraham Stolk
bb07e99907 Fix clear range. 2020-01-30 12:18:28 -08:00
Abraham Stolk
2efeada1c0 This fixes a buffer overflow in an array of write descriptor sets. 2020-01-30 12:18:28 -08:00
Бранимир Караџић
87eac9ed06 Updated ImGui. 2020-01-29 20:09:47 -08:00
Алексей Тулинов
ac9c330100 Fixes #2000. Restored old behavior of handling shaders with "#version 430" in them. 2020-01-29 19:23:31 -08:00
Бранимир Караџић
2d53481e02 Updated makefile for xcode projgen. 2020-01-29 07:00:51 -08:00
Бранимир Караџић
aa4d5b0060 Updated Vulkan headers. 2020-01-28 21:15:46 -08:00
Бранимир Караџић
a26b6663f2 Updated meshoptimizer. 2020-01-27 20:59:17 -08:00
Бранимир Караџић
6536629763 Updated ImGui. 2020-01-27 20:55:09 -08:00
James Fulop
b9ab564c47 cleanup: fix redundancy in error message 2020-01-24 21:27:46 -08:00
JW
97bafaa7b8 Check for GLX vblank extensions more properly.
Previously, the code checked for an extension by checking if the pointer returned from
glXGetProcAddress was NULL or not.

But in truth, you can get a non-NULL pointer even if that extension is not supported.
Now, we parse the glXQueryExtensionsString() results.

GLFW code that does similar checks, for reference: 51bb76c7c3/src/glx_context.c (L208)

fixes #1367
2020-01-24 21:26:56 -08:00
Бранимир Караџић
aae3f238e1 Updated ImGui. 2020-01-24 21:25:36 -08:00
Бранимир Караџић
6a1287e43d Cleanup. 2020-01-23 09:10:05 -08:00
Бранимир Караџић
b59998cdfa Updated ImGui. 2020-01-22 20:00:35 -08:00
Attila Kocsis
ecc8f791f2 always calling UI API on main thread 2020-01-22 19:55:13 -08:00
Бранимир Караџић
880f932cb8 Fixed issue #2002. 2020-01-22 19:54:14 -08:00
Hugo Amnov
32e1d9f9b5 Update entry_asmjs to updated Emscripten html5 API 2020-01-21 20:10:16 -08:00
Бранимир Караџић
b14f9dc280 Cleanup. 2020-01-21 20:08:48 -08:00
Бранимир Караџић
de9a508409 Cleanup. 2020-01-21 09:16:55 -08:00
Cedric Guillemet
97005355c2 space 2020-01-21 09:11:53 -08:00
Cedric Guillemet
9ee39e8241 PR feedback 2020-01-21 09:11:53 -08:00
Cedric Guillemet
b4cac17b93 default parameters 2020-01-21 09:11:53 -08:00
Cedric Guillemet
4b83e0f5bc discard flags 2020-01-21 09:11:53 -08:00
Бранимир Караџић
8ec25d96c7 Updated README. 2020-01-20 17:43:18 -08:00
Hugo Amiard
c4de3593de Cleanup Emscripten toolchain 2020-01-18 21:58:19 -08:00