Commit Graph

5044 Commits

Author SHA1 Message Date
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
Branimir Karadžić
bf9dc4692e Cleanup. 2017-09-21 21:37:16 -07:00
Branimir Karadžić
2abe7db80a Fixed CPU timer. 2017-09-21 21:34:02 -07:00
Branimir Karadžić
fc65c6a95e Default to combined examples. 2017-09-21 21:10:05 -07:00
Branimir Karadžić
739f7e597b Cleanup. 2017-09-21 21:09:44 -07:00
云风
46042fb77a bugfix for d3d12 renderer mingw64 (#1239) 2017-09-21 20:45:09 -07:00
Branimir Karadžić
06127b0aa7 D3D11: Fixed SRV for compute texture cube map. 2017-09-20 16:26:24 -07:00
Branimir Karadžić
8177da57f7 Updated ImGui. 2017-09-19 20:49:52 -07:00
Branimir Karadžić
c0819a5a64 Fixed imageSwizzleBgra8. 2017-09-19 20:18:25 -07:00
Branimir Karadžić
3e1b9c52eb Updated ImGui. 2017-09-18 18:26:07 -07:00
Branimir Karadžić
ad4be46c79 Fixed program ref counting issue. 2017-09-18 18:25:08 -07:00
Branimir Karadžić
72d4576759 Updated ImGui. 2017-09-18 09:21:06 -07:00
Branimir Karadžić
8522bf95ac Cleanup. 2017-09-17 21:17:24 -07:00
Branimir Karadžić
04c3322d93 D3D9: Fixed persist dynamic buffers after device reset. 2017-09-17 21:01:20 -07:00
Branimir Karadžić
f07a30ca0b Added example 35-dynamic: dynamic buffers update. 2017-09-17 20:32:11 -07:00
Branimir Karadžić
a3309c1205 Fixed issue #1236. 2017-09-17 16:54:37 -07:00
Branimir Karadžić
2ef2e3ce81 Cleanup. 2017-09-16 21:12:02 -07:00
Branimir Karadžić
56d7f7b8ca Updated glslang. 2017-09-15 20:46:49 -07:00
Branimir Karadžić
965f8c91b2 Cleanup. 2017-09-15 20:04:31 -07:00
Branimir Karadžić
322f312970 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-09-15 17:54:54 -07:00
Branimir Karadžić
f74b350ab8 Workaround issue with partial dynamic buffer update. 2017-09-15 17:54:41 -07:00
Branimir Karadžić
4f79945ebf Fixed sequential sort. 2017-09-15 13:01:11 -07:00
Branimir Karadžić
a1289e9e82 Updated ImGui. 2017-09-14 22:13:10 -07:00
Branimir Karadžić
dbbb670d7f Added separate draw sort key for sequential view mode. 2017-09-14 18:59:49 -07:00
Branimir Karadžić
17cd4fd005 Updated ImGui. 2017-09-12 21:16:19 -07:00
Branimir Karadžić
634d5ef751 Fixed debug draw transform. 2017-09-12 17:58:36 -07:00
Branimir Karadžić
90f2274494 Updated ImGui. 2017-09-11 20:38:23 -07:00
Libor Čapák
f56687ee4b SDL_GameControllerAddMapping needs zero-terminated string (#1234) 2017-09-11 13:28:28 -07:00
Branimir Karadžić
e62ffe9984 Cleanup. 2017-09-10 21:36:43 -07:00
Branimir Karadžić
05532c8e08 Updated glslang. 2017-09-10 21:36:21 -07:00