Commit Graph

4873 Commits

Author SHA1 Message Date
Branimir Karadžić
9675639187 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-10-05 20:18:50 -07:00
Branimir Karadžić
fd5ee719fa 36-sky: Added time scale. 2017-10-05 20:18:45 -07:00
Stanislav
f9b5c86d10 Fixed flag ImGuiWindowFlags_AlwaysAutoResize been passed as alpha argument (#1251) 2017-10-05 20:05:52 -07:00
Branimir Karadžić
2ef1d526c6 Cleanup. 2017-10-05 09:09:36 -07:00
Branimir Karadžić
7a82571827 36-sky: Updated screenshot. 2017-10-04 20:46:31 -07:00
Branimir Karadžić
a6a166020d Fixed build. 2017-10-04 20:40:01 -07:00
Branimir Karadžić
374b4b4469 geometryc: Fixed uv/normal output. 2017-10-04 20:31:58 -07:00
Branimir Karadžić
bf9d692d36 36-sky: Fixed lightmap. 2017-10-04 20:21:23 -07:00
Branimir Karadžić
27492abea2 Updated ImGui. 2017-10-04 19:58:54 -07:00
Branimir Karadžić
f2628b6e71 Updated ImGui. 2017-10-03 23:03:58 -07:00
Branimir Karadžić
7737343427 Added screenshots. 2017-10-03 20:59:33 -07:00
Branimir Karadžić
a6a689b235 Fixed row/column matrix issue. 2017-10-03 20:48:45 -07:00
Branimir Karadžić
016fd301b0 Built assets. 2017-10-03 20:29:40 -07:00
Stanislav
78c4539646 Added example 36-sky (#1250)
* Added example 36-sky

* Added shaders for example 36-sky.

* Fixed brackets, initialisation order and fmod issue
2017-10-03 19:50:05 -07:00
Branimir Karadžić
3e09c0b44a Cleanup. 2017-10-01 23:24:13 -07:00
Branimir Karadžić
c6e5062067 Rebuilt shaders. 2017-10-01 23:08:08 -07:00
Branimir Karadžić
2650897f06 Fixed build. 2017-10-01 22:52:26 -07:00
Branimir Karadžić
88e8009b55 Cleanup. 2017-10-01 21:57:48 -07:00
Branimir Karadžić
5a9adcc337 D3D9/12: Added GPU memory info. 2017-10-01 21:18:29 -07:00
Branimir Karadžić
7030de8d73 Fixed build. 2017-10-01 20:06:29 -07:00
Branimir Karadžić
3f11ae5bb4 Moved nvapi integration into separate file. 2017-10-01 19:45:48 -07:00
Branimir Karadžić
2d129b0bec Cleanup. 2017-10-01 18:41:50 -07:00
Branimir Karadžić
323f2608a0 Changed GENie script to allow configurable bimg directory. 2017-09-30 23:06:22 -07:00
Branimir Karadžić
ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić
3708ed0d16 Updated glslang. 2017-09-29 21:22:46 -07:00
Branimir Karadžić
e187ac319d Updated ImGui. 2017-09-29 20:15:19 -07:00
Branimir Karadžić
114b9ed10a Cleanup. 2017-09-28 22:56:06 -07:00
Branimir Karadžić
07f5e1184c 29-debugdraw: Display intersection normal. 2017-09-28 22:52:23 -07:00
Branimir Karadžić
c89a4106b3 Updated ImGui. 2017-09-28 21:51:20 -07:00
Branimir Karadžić
783db66079 Fixed AABB hit normal. 2017-09-28 21:50:11 -07:00
Branimir Karadžić
5e40a84769 Cleanup. 2017-09-27 21:52:25 -07:00
Branimir Karadžić
491d26ceed Updated ImGui. 2017-09-27 19:42:53 -07:00
Branimir Karadžić
81716be726 Cleanup. 2017-09-26 22:50:29 -07:00
Branimir Karadžić
f541703810 Added intersection test to example-29-debugdraw. 2017-09-26 21:09:26 -07:00
Branimir Karadžić
aa567d3d72 D3D11: Added GPU memory stats. 2017-09-26 18:09:15 -07:00
Branimir Karadžić
fe00409e13 Updated ImGui. 2017-09-25 20:59:25 -07:00
Branimir Karadžić
b0ae54f14a Cleanup. 2017-09-25 20:18:19 -07:00
Branimir Karadžić
88e00edf4d Fixed build. 2017-09-25 20:02:25 -07:00
Branimir Karadžić
1218981a22 Cleanup. 2017-09-25 17:51:15 -07:00
Branimir Karadžić
63bff54a69 Fixed ray/cylinder intersection. 2017-09-24 23:33:08 -07:00
Branimir Karadžić
d8ec5a9a54 Cleanup. 2017-09-24 22:50:05 -07:00
Branimir Karadžić
7b94b8dcb4 Added ray/cone intersection. 2017-09-24 19:12:18 -07:00
Branimir Karadžić
b5af383cf8 Cleanup. 2017-09-23 16:27:16 -07:00
Branimir Karadžić
896dc62c83 Updated glslang. 2017-09-22 22:36:46 -07:00
Branimir Karadžić
41b29a34a6 GL: Fixed GPU timer frequency. 2017-09-22 22:26:56 -07:00
Branimir Karadžić
4b4b1c31a6 Added perf timer for API thread. 2017-09-22 21:39:16 -07:00
Branimir Karadžić
4026fdc25a D3D12: Fixed build error. 2017-09-22 17:41:24 -07:00
attilaz
4371a31a2f misc metal fix/optim (#1241)
- setLabel now in 'wrapper' I have tested this and it compiles on older sdks ( gives warning). It works on iOS8 device.
- fixed texture skip
- fixed performance issue related to submitBlit. It caused problem because it closed active rendercommand encoder even when blit was not used, so device had to store/load framebuffer. ( thanks to @jazzbre)
2017-09-22 08:45:28 -07:00
attilaz
acf3db7a06 Fix sampler/texture indices for metal (#1242)
Fix for https://github.com/bkaradzic/bgfx/issues/1227 .

It gets texture slot from compiled shaders and maps it to Sampler uniform. So sampler uniform MUST be defined before using shader (shadowmap_simple has a bug with invalid uniform name).
2017-09-22 08:44:51 -07:00
attilaz
bc065cc4d0 Fix compilation on iOS (#1240) 2017-09-22 08:44:15 -07:00