Commit Graph

7409 Commits

Author SHA1 Message Date
Бранимир Караџић
4c0b7621d9 Fixed Encoder allocation alignment. 2020-09-14 09:30:33 -07:00
Бранимир Караџић
5710681af4 Updated ImGui. 2020-09-10 07:56:32 -07:00
Kitchen
aa24588800
fix d3d12 error when create backbuffer with msaa and srgb format (#2261) 2020-09-09 19:29:00 -07:00
云风
95b4e6eaa5
Use getResourceDesc instead of GetDesc, See #1239 (#2260)
* Use getResourceDesc instead of GetDesc, See #1239

* Fix MSAA on d3d12
2020-09-09 05:52:13 -07:00
Branimir Karadžić
2996246a90 Cleanup. 2020-09-08 07:42:03 -07:00
Branimir Karadžić
73508ac80f Fixed warnings. 2020-09-07 10:06:47 -07:00
Kitchen
14f8a097fc
fix error when create backbuffer with msaa and srgb format (#2258) 2020-09-07 08:05:33 -07:00
Бранимир Караџић
fa3aa2969e Updated cgltf. 2020-09-07 07:43:26 -07:00
Бранимир Караџић
66deeb10c2 21-deferred: Fixed depth format selection. 2020-09-05 12:15:07 -07:00
Бранимир Караџић
6e3e2836c9 Updated ImGui. 2020-09-05 12:00:13 -07:00
Бранимир Караџић
248d56709e Updated spirv-cross. 2020-09-05 11:33:56 -07:00
Бранимир Караџић
765b7b02eb Updated spirv-tools. 2020-09-05 11:33:44 -07:00
Бранимир Караџић
86402fec24 Updated version number. 2020-09-05 11:24:50 -07:00
Бранимир Караџић
9f8fe6a1eb Fixed range slider. 2020-09-04 16:14:02 -07:00
Бранимир Караџић
d1685a366a Fixed build. 2020-09-03 23:45:20 -07:00
Бранимир Караџић
8f4750b199 Cleanup. 2020-09-02 20:43:47 -07:00
Wencey Wang
0093a67681
Fix Windows ARM build (#2254) 2020-09-02 08:31:39 -07:00
云风
03871f12db
fix gcc warnings (#2253) 2020-09-01 20:49:08 -07:00
Бранимир Караџић
4d4ef74fe6 Fixed GCC warning.: 2020-09-01 20:21:58 -07:00
云风
2480ea3dbe
avoid gcc warnings: cast-function-type (#2252) 2020-09-01 20:20:03 -07:00
云风
0e1c095c3b
add *_with_layout APIs (#2251) 2020-09-01 20:19:14 -07:00
Бранимир Караџић
a2e7d8ab30
Update bug_report.md 2020-09-01 15:35:16 -07:00
Бранимир Караџић
80c9eb4d36 Update issue templates 2020-09-01 15:32:16 -07:00
云风
4d6445896e
Add missing VertexLayoutHandle for C APIs (#2249) 2020-09-01 08:36:52 -07:00
Бранимир Караџић
6834247aed Updated ImGui. 2020-08-29 22:14:36 -07:00
Бранимир Караџић
c6b37def25 Updated spirv-cross. 2020-08-28 23:15:26 -07:00
Бранимир Караџић
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