Commit Graph

6180 Commits

Author SHA1 Message Date
Бранимир Караџић
f665e4e982
Merge pull request #1604 from attilaz/metal-compute-indirect
metal compute and drawindirect
2019-01-05 15:32:31 -08:00
Attila Kocsis
1708a4677e metal compute and drawindirect 2019-01-05 20:20:30 +01:00
Бранимир Караџић
6f6c393b04 40-svt: Added screenshot. 2019-01-05 08:55:03 -08:00
Branimir Karadžić
4c70a7cc4b Updated shaders. 2019-01-05 08:38:09 -08:00
Бранимир Караџић
e743c4e431 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-05 08:16:41 -08:00
Бранимир Караџић
92fbcc79b2
Merge pull request #1603 from jazzbre/svt-example
Sparse Virtual Textures example
2019-01-05 08:16:26 -08:00
Бранимир Караџић
fa8eb9878c Updated spirv-tools. 2019-01-05 08:15:11 -08:00
Aleš Mlakar
6882d8e585 Merge branch 'master' of https://github.com/bkaradzic/bgfx into svt-example 2019-01-05 17:08:01 +01:00
Aleš Mlakar
e024fb84d7 SVT example more removed unused 2019-01-05 08:44:36 +01:00
Aleš Mlakar
e007b66e6b SVT example removed unused 2019-01-05 08:38:16 +01:00
Aleš Mlakar
cf4d1ca28e SVT shaders copyright and formatting fixes 2019-01-05 08:12:48 +01:00
Aleš Mlakar
9f748b1b28 SVT example tab spaces 2019-01-05 08:06:21 +01:00
Aleš Mlakar
2e327bff68 SVT example allocator fixes 2019-01-05 08:04:22 +01:00
Бранимир Караџић
7d7a94661e Updated ImGui. 2019-01-04 14:33:10 -08:00
Aleš Mlakar
31c1b56ffb SVT example fixes and std replaced with tinystl (except std::function) 2019-01-04 10:30:04 +01:00
Aleš Mlakar
ec167c1d51 SVT example fixes 2019-01-04 09:51:12 +01:00
Бранимир Караџић
bc65303576 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-03 22:03:42 -08:00
Бранимир Караџић
d712453609 Cleanup. 2019-01-03 22:03:40 -08:00
Бранимир Караџић
6362bcf9d3 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-03 17:48:02 -08:00
Бранимир Караџић
e36890f6d8 Merge branch 'master' of github.com:bkaradzic/bgfx 2019-01-03 17:47:10 -08:00
Бранимир Караџић
d1567fc32e Updated README. 2019-01-03 17:46:57 -08:00
Бранимир Караџић
b6c911a389 Cleanup. 2019-01-03 15:23:53 -08:00
Бранимир Караџић
7b3e5f84d6 Cleanup. 2019-01-03 15:16:29 -08:00
Бранимир Караџић
e28e458173 Cleanup. 2019-01-03 14:39:41 -08:00
Бранимир Караџић
fb8a82a5fd Cleanup. 2019-01-03 14:30:59 -08:00
Бранимир Караџић
8a9ce83d47 Updated ImGui. 2019-01-03 09:21:50 -08:00
Aleš Mlakar
7732554b02 SVT example formatting fix 2019-01-03 12:04:54 +01:00
Aleš Mlakar
ada5d979d8 Merge branch 'master' of https://github.com/jazzbre/bgfx into svt-example 2019-01-03 11:44:31 +01:00
Aleš Mlakar
1c6c7378e8 * 40-svt: Added to project. Added screenshot. Built shaders. 2019-01-03 11:34:30 +01:00
Бранимир Караџић
745b7884f2 Updated ImGui. 2019-01-02 09:07:00 -08:00
Бранимир Караџић
42dd2cd540 Updated glslang. 2018-12-31 08:47:04 -08:00
Бранимир Караџић
089a08727f
Merge pull request #1600 from elvencache/master
Add HDR backbuffer support to texturev for viewing HDR textures
2018-12-30 08:41:38 -08:00
elvencache
96611dd944 Add HDR backbuffer support to texturev for viewing HDR textures
Texturev already supports exposure/stops as a way to view details in HDR textures. But results still clip to 1.0 due to 8 bits per channel back buffer. So not viable to view in native HDR.

Add UI menu to select scRGB (f16 HDR for windows) and HDR10 (pq/st2084 and rec2020 color primaries) and add shader code to properly display image. The intent is for SDR range content to look identical across all three modes. With additional details available in HDR modes when viewed on HDR monitor.

Running into trouble compiling fs_texture_array at the moment. So skipping the changes required in that shader.

*sdf.bin.h files changed because of changes in common.sh. Could roll the hdr code into a separate hdr.sh which would leave them be if that would be better?
2018-12-29 23:10:28 -08:00
Бранимир Караџић
149b0e867b
Merge pull request #1599 from junjie020/master
fix example 06 of bump mapping which lighting calculation is incorrect
2018-12-29 08:21:31 -08:00
junjie020
75d1ffedad fix shader mk 2018-12-29 17:58:53 +08:00
junjie020
9a39e66e2b add compile shader 2018-12-29 17:58:43 +08:00
junjie020
c4aa82e2fa fix bump example tangent lighting wrong 2018-12-29 17:29:49 +08:00
Бранимир Караџић
0a1869d4f2 OSX: Disable deprecated warnings. 2018-12-28 22:24:36 -08:00
Бранимир Караџић
3a961e6ab7
Merge pull request #1594 from blaztinn/mtl-fixes
A few metal renderer fixes and cleanups
2018-12-28 08:21:14 -08:00
Blaž Tomažič
dd4edb23ed Use existing metal layer if present on NSWindow
If we create and assign a new metal layer to NSWindow, when another one
was already assigned, the window content stays black.
2018-12-28 10:57:47 +01:00
Blaž Tomažič
7669f8442c Release all swapchain resources on destruction 2018-12-28 10:57:44 +01:00
Blaž Tomažič
2babc79d5c Use swapchain's m_num only when attachment array has valid content 2018-12-28 10:57:41 +01:00
Blaž Tomažič
a562f3f5a9 Set a number of valid attachments 2018-12-28 10:57:39 +01:00
Blaž Tomažič
e4f4c996ce Remove unused fields 2018-12-28 10:57:36 +01:00
Blaž Tomažič
689da33211 d3d11 non-main window buffers are not multisampled 2018-12-28 10:57:13 +01:00
Бранимир Караџић
89032aae39 Cleanup. 2018-12-27 20:56:53 -08:00
Бранимир Караџић
4a49f14b5d
Merge pull request #1590 from mchiasson/update_nanovg
upgraded nanovg to the latest.
2018-12-27 20:42:05 -08:00
Бранимир Караџић
82e82d27b5
Merge pull request #1592 from attilaz/backbuffer-fix-metal
fixed metal backbuffer issues
2018-12-27 20:35:27 -08:00
Mathieu-Andre Chiasson
5be52bb925 upgraded nanovg to the latest. 2018-12-27 21:52:01 -05:00
Attila Kocsis
b3252719c0 fixed metal backbuffer issues 2018-12-27 16:25:54 +01:00