Бранимир Караџић
885a86cf56
Updated spirv-tools.
2020-08-28 23:15:15 -07:00
Бранимир Караџић
e272a31e19
Better frame buffer validation.
2020-08-27 12:42:37 -07:00
Doug Binks
ab036d2a05
Add support for non main thread rendering for WGL and NSGL when developer provides context ( #2241 )
...
* WGL support for passing a context when using renderFrame on non main thread
* NSGL support for passing a context when using renderFrame on non main thread
* WGL: Moved no window warning and added check prior to calling GetDC
2020-08-25 07:47:46 -07:00
Бранимир Караџић
f20fd61e4f
Revert "[ VK/DX12] Bring setScissor on par with the other renderers ( #2239 )"
...
This reverts commit fbd7e9efd6
.
2020-08-22 09:10:49 -07:00
Julian Xhokaxhiu
fbd7e9efd6
[ VK/DX12] Bring setScissor on par with the other renderers ( #2239 )
2020-08-22 09:09:11 -07:00
Бранимир Караџић
20fd4ba49e
Updated spirv-cross.
2020-08-21 20:48:54 -07:00
Бранимир Караџић
06e2677783
Updated spirv-tools.
2020-08-21 20:48:40 -07:00
Бранимир Караџић
4d3fcfd4c7
Updated glslang.
2020-08-21 20:48:25 -07:00
Бранимир Караџић
46c9719f1b
Updated vulkan headers.
2020-08-21 20:43:29 -07:00
kingscallop
b297b48e88
Vulkan validation fixes ( #2205 )
...
When resizing the window, there's a race condition between the
validation of vkCreateSwapchainKHR's arguments and the actual
size of the window.
This ignores the validation warning when vkCreateSwapchainKHR succeeds.
On some graphic drivers vkAcquireNextImage and vkQueuePresentKHR
may return VK_SUBOPTIMAL_KHR. This is being handled as an error, which
leads to those frames being unnecessarily skipped.
2020-08-16 21:08:32 -07:00
Martijn Courteaux
1ca9f894d1
Fix uniform stripping procedure for unexpected newlines in Metal shaderc. ( #2223 )
2020-08-16 21:08:01 -07:00
kingscallop
ba3be9affd
Fixes example 42 ( #2235 )
...
Because example 42 was using the shaders from example 07 (callback), which have
input vertex attributes position and color, while the mesh from example 42 has
attributes position and normal, this causes problems on Windows when using
AMD gpus (no bunny mesh would appear on the window).
2020-08-16 11:44:00 -07:00
kingscallop
e5d25a7d88
Fixes example 41 on OpenGL ( #2234 )
...
The glsl function findMSB is overriden, causing an error on Windows and Linux
when running on AMD or Intel gpus. Nvidia, for whatever reason, seems to allow
overriding the function.
2020-08-16 11:43:28 -07:00
kingscallop
cb8f6dfcec
Fixes example 08 when using OpenGL ( #2233 )
...
This example was broken on Windows and Linux when using OpenGL.
The code path when using immutable compressed textures was wrong.
2020-08-16 11:42:42 -07:00
kingscallop
a39b14cacc
Fixes example 37 on Windows using AMD GCN 1.0 gpus ( #2232 )
...
When compiling shader cs_gdr_stream_compaction.sc on GCN 1.0 gpus
the following error appears:
Compute link error: HW_UNSUPPORTED.
ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED
Shader not supported by HW
These changes avoid the error.
2020-08-16 11:41:53 -07:00
Бранимир Караџић
9e6224a25f
Merge branch 'master' of github.com:bkaradzic/bgfx
2020-08-14 20:35:34 -07:00
Бранимир Караџић
e93ca121bd
Updated vulkan headers.
2020-08-14 20:35:18 -07:00
Бранимир Караџић
bdd93757b3
Updated spirv-headers.
2020-08-14 20:35:09 -07:00
Бранимир Караџић
efff7a8630
Updated spirv-cross.
2020-08-14 20:34:55 -07:00
Бранимир Караџић
f16ab74475
Updated spirv-tools.
2020-08-14 20:34:35 -07:00
Бранимир Караџић
a9e1d1a8ce
Updated glslang.
2020-08-14 20:34:22 -07:00
Elliot Cuzzillo
9991b63259
improve explanatory comment about _SRGB backbuffers ( #2230 )
2020-08-13 16:00:35 -07:00
Elliot Cuzzillo
8244fdf54d
only use srgb views into non-srgb backbuffers to enable flip presentation model ( #2229 )
2020-08-13 15:45:45 -07:00
Бранимир Караџић
1a2bfbb06f
Updated ImGui.
2020-08-11 21:06:37 -07:00
Бранимир Караџић
0a4099b13c
Updated ImGui.
2020-08-06 17:55:49 -07:00
Бранимир Караџић
a3c3997e69
Updated cgltf.
2020-08-04 21:07:38 -07:00
Бранимир Караџић
4920ea4a6f
Updated ImGui.
2020-08-04 21:04:33 -07:00
Бранимир Караџић
1c044995bb
Updated ImGui.
2020-08-02 19:34:16 -07:00
Бранимир Караџић
ddd87ec614
Updated spirv-cross.
2020-08-02 19:33:25 -07:00
Бранимир Караџић
ecd5959987
Updated spirv-tools.
2020-08-02 19:33:12 -07:00
Бранимир Караџић
7cf5eb0eba
Updated spirv-headers.
2020-08-02 19:32:55 -07:00
Бранимир Караџић
07583ddba2
Updated glslang.
2020-08-02 19:32:42 -07:00
James Fulop
276598ad50
fixes for d3d12 texture update ( #2220 )
...
---
* support for compressed textures
* support for emulated textures
* fix for incorrect copyable footprint dims
2020-07-28 07:49:22 -07:00
Бранимир Караџић
825ce15d1f
Cleanup.
2020-07-27 21:55:54 -07:00
Бранимир Караџић
18a7fa7f72
Cleanup.
2020-07-27 16:56:27 -07:00
Бранимир Караџић
046e930636
Cleanup.
2020-07-27 16:47:19 -07:00
Бранимир Караџић
725438583e
DXGI: Fixed allow tear.
2020-07-27 14:57:34 -07:00
Бранимир Караџић
f89520db89
Cleanup.
2020-07-26 21:00:32 -07:00
Wencey Wang
1f53c6c246
Fix reference release ( #2217 )
...
* Fix reference release
* Use DX_RELEASE
2020-07-26 20:59:45 -07:00
Бранимир Караџић
9e5e34f018
Updated spirv-cross.
2020-07-26 17:02:41 -07:00
Бранимир Караџић
fd71b4060d
Updated spirv-tools.
2020-07-26 17:02:28 -07:00
Бранимир Караџић
381d381c93
Updated spirv-headers.
2020-07-26 17:02:16 -07:00
Бранимир Караџић
0440e80b79
Updated glslang.
2020-07-26 17:01:57 -07:00
Бранимир Караџић
e77d2c76ea
Updated vulkan headers.
2020-07-26 16:28:17 -07:00
Бранимир Караџић
aebdae4b9c
Updated ImGui.
2020-07-26 16:26:30 -07:00
Бранимир Караџић
1dafe00200
Updated meshoptimizer.
2020-07-26 16:26:06 -07:00
Бранимир Караџић
81a2b8d46a
Validate is texture created as readback.
2020-07-26 09:38:06 -07:00
Бранимир Караџић
679730fc4e
Cleanup.
2020-07-25 16:24:24 -07:00
Wencey Wang
8524982c30
add SwapChainPanel support ( #2215 )
2020-07-25 16:17:05 -07:00
Бранимир Караџић
0123831126
Fixed release build.
2020-07-24 20:35:08 -07:00