Commit Graph

1706 Commits

Author SHA1 Message Date
Branimir Karadžić
d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Branimir Karadžić
2986c1eb7b D3D11/12: Added ASTC formats. 2018-06-11 14:43:17 -07:00
Andrew Willmott
acd99728b7 ATC and ASTC support (#1410)
* ATC & ASTC support

- Add update format enum for bimg additions
- renderer_gl ATC and ATSC support
- renderer_mtl ASTC support
- renderer_vk ASTC support
- updates to other backends for new enums
- Support emulated ATC

* cleanup

* Add texture_compression test files for ATC/ASTC formats

* Update 'update' example for ATC formats

- Generalise tile code a little
- Add ATC variants
- Ignoring ASTC for now as not emulated -- should we add empty
  checkerboard emulate though?
2018-06-11 09:23:41 -07:00
Branimir Karadžić
9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić
061cde8d53 Cleanup. 2018-06-08 16:53:35 -07:00
Branimir Karadžić
1f5220a931 01-cubes: Added primitive topology combo box. 2018-06-07 21:23:09 -07:00
OswaldHurlem
ff34c8c37d Mouse up/down events from entry_sdl.cpp incorrectly have mouse z (scroll_z) set to zero (#1404) 2018-06-06 21:40:18 -07:00
Branimir Karadžić
8bc501d0a1 debugdraw: Use encoder for transforms. 2018-05-24 18:03:51 -07:00
Branimir Karadžić
507dd115e8 Rebuild assets. 2018-05-23 21:18:41 -07:00
Branimir Karadžić
0d502588d0 Removed ViewId style from ImGui. 2018-05-09 08:01:29 -07:00
Branimir Karadžić
cbfa3b59db Cleanup. 2018-05-06 18:39:44 -07:00
Branimir Karadžić
e74a5d7843 Renamed ocornut-imgui to dear-imgui. 2018-05-06 08:57:48 -07:00
Branimir Karadžić
80d56ed37c Cleanup. 2018-04-23 16:23:38 -07:00
Branimir Karadžić
1068eff004 Cleanup. 2018-04-20 16:55:53 -07:00
Branimir Karadžić
5bb6a14876 Changed bgfx::init to take init parameters as structure instead of arguments. 2018-04-17 15:42:18 -07:00
Bill Freist
d6777a8887 Only flush and set the depth test bits if depth is currently enabled already. (#1375)
This removes a bug where you could blow away the options set in a previous call to setState() which can enabled/disable depth testing.
2018-04-16 22:04:49 -07:00
Branimir Karadžić
46dcba65e5 debugdraw: Added depth test less to begin. 2018-04-16 17:58:17 -07:00
Hugo Amnov
7518234700 Fix wrong frustum in shadowmaps example (#1372) 2018-04-14 16:47:40 -07:00
Branimir Karadžić
0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić
45918a4e81 Updated shaders. 2018-04-12 20:45:33 -07:00
Branimir Karadžić
ab46f3f353 Rebuild embedded shaders. 2018-04-11 21:14:22 -07:00
Branimir Karadžić
f3313f825a debugdraw: Added encoder to allow MT submit. 2018-04-11 17:26:55 -07:00
Branimir Karadžić
03b7659b37 debugdraw: Allow use of encoder. 2018-04-10 17:15:24 -07:00
Branimir Karadžić
2bbc67e922 Cleanup. 2018-04-10 08:55:56 -07:00
Branimir Karadžić
f92c6625d9 VK: Cleanup. 2018-04-09 21:09:52 -07:00
Branimir Karadžić
93a1c8171a Cleanup. 2018-04-08 20:12:49 -07:00
Branimir Karadžić
3272efe2f5 Cleanup. 2018-03-28 20:35:37 -07:00
Branimir Karadžić
b48813cf48 Cleanup. 2018-03-20 17:54:30 -07:00
Branimir Karadžić
5ecd605107 Updated shaders. 2018-03-17 21:56:54 -07:00
Branimir Karadžić
9b03c0cfe3 Cleanup. 2018-03-17 21:44:25 -07:00
Branimir Karadžić
6e7e761a3b Cleanup. 2018-03-10 15:01:22 -08:00
Branimir Karadžić
969cc7c8b8 Cleanup. 2018-03-10 14:27:32 -08:00
Branimir Karadžić
628e2fcab7 Removed dummy z-only pass fragment shader (null fragment shader is supported now). 2018-03-06 19:53:37 -08:00
Branimir Karadžić
2250f45510 Updated shaders. 2018-03-06 19:49:20 -08:00
Branimir Karadžić
d1a34aabe4 Cleanup. 2018-03-06 19:48:33 -08:00
Branimir Karadžić
5c07a62164 Fixed issue #1346. 2018-03-06 19:48:13 -08:00
Branimir Karadžić
9422aec753 Cleanup. 2018-03-05 20:24:03 -08:00
Branimir Karadžić
fa7a871ca7 Cleanup. 2018-03-04 22:11:38 -08:00
Branimir Karadžić
aeeae5454f Fixed OSX build. 2018-03-04 21:44:08 -08:00
Branimir Karadžić
5d2f256dc4 Cleanup. 2018-03-04 21:33:21 -08:00
Branimir Karadžić
14e14c12a5 Removed unused function. 2018-03-04 17:29:35 -08:00
Branimir Karadžić
c69135aff1 Cleanup. 2018-03-04 16:51:43 -08:00
Branimir Karadžić
fb2b2069a6 37-gpudrivenrendering: Added screenshot. 2018-03-04 16:44:41 -08:00
Branimir Karadžić
bcc5cf8539 Fixed MSVC warnings. 2018-03-04 16:23:51 -08:00
Branimir Karadžić
00a53d6d1b Fixed GCC build. 2018-03-04 16:21:23 -08:00
Branimir Karadžić
2fe1e65322 37-gpudrivenrendering: Added shaders. 2018-03-04 16:11:32 -08:00
Branimir Karadžić
90aadf835b 37-gpudrivenrendering: Fixed GL shaders. 2018-03-04 16:11:05 -08:00
KostasAAA
e474666a55 Initial commit of gpu occlusion culling with multidraw indirect example (#1344) 2018-03-04 15:02:42 -08:00
Branimir Karadžić
b4229e4a17 Cleanup. 2018-03-01 17:30:28 -08:00
Branimir Karadžić
15485134f7 Updated nanovg. 2018-03-01 09:05:54 -08:00