Commit Graph

4834 Commits

Author SHA1 Message Date
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
Branimir Karadžić
adeb7f5870 Cleanup. 2017-09-10 20:58:45 -07:00
Branimir Karadžić
3ffc9c0f46 Use resources names when displaying leaks. 2017-09-08 18:13:42 -07:00
Branimir Karadžić
dccd1cb00c Ignore sRGB from image container, use only flag passed. 2017-09-08 09:51:49 -07:00
Branimir Karadžić
b383159633 Updated docs. 2017-09-07 20:42:20 -07:00
ManuelK89
8f25bc49f5 Fix for ios: dont recreate GLES context if already existing. (#1232) 2017-09-07 09:37:13 -07:00
Branimir Karadžić
85d55806d6 Updated ImGui. 2017-09-06 19:04:41 -07:00
Branimir Karadžić
b88e566b80 Cleanup. 2017-09-06 19:04:04 -07:00
Branimir Karadžić
3bd460d39a Fail to create static vertex buffer when VertexDecl is incorrect. 2017-09-06 16:20:35 -07:00
Branimir Karadžić
1b74a3763a Updated ImGui. 2017-09-05 20:06:55 -07:00
Branimir Karadžić
26ea2286e7 Updated ImGui. 2017-09-04 19:53:34 -07:00