Commit Graph
8495 Commits
Author SHA1 Message Date
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
Бранимир Караџић bc82af19c1 Metal: Fixed main swapchain leak. 2018-12-26 14:11:57 -08:00
Бранимир Караџић 593731cc73 Cleanup. 2018-12-26 13:36:27 -08:00
Бранимир Караџић bda120446e Cleanup. 2018-12-26 13:10:03 -08:00
Бранимир Караџић 5ba516d098 Cleanup. 2018-12-26 10:20:02 -08:00
Бранимир Караџић aeb8a00327 Merge pull request #1591 from junjie020/master
fix metal shader lack of texutre uniform variable
2018-12-25 23:41:13 -08:00
Бранимир Караџић d2daf54379 Metal: Fixed MSAA detection. 2018-12-25 23:20:14 -08:00
junjie020 9296a44f5e fix metal shader lack of texutre uniform variable 2018-12-26 14:19:07 +08:00
Бранимир Караџић f63a15160b Cleanup. 2018-12-24 22:54:08 -08:00
Бранимир Караџић 03ac0190d0 Updated ImGui. 2018-12-23 19:49:54 -08:00
Бранимир Караџић 6be0243ac8 Fixed build. 2018-12-22 20:39:26 -08:00
Бранимир Караџић 2950f85d7f Merge pull request #1588 from mchiasson/patch-1
VertexBufferGL unbinds correct target if destroyed
2018-12-22 18:41:31 -08:00
Бранимир Караџић 9a3d580f01 Updated glslang. 2018-12-22 18:40:47 -08:00
Matt Chiasson 2776279b3e VertexBufferGL unbinds correct target if destroyed
it was only unbinding `GL_DRAW_BUFFER` when the vbo target could be either `GL_DRAW_BUFFER` or `GL_DRAW_INDIRECT_BUFFER`.

see https://github.com/bkaradzic/bgfx/blob/6bff345637c981136e4694b6dd3cac493be63adc/src/renderer_gl.h#L1186 for detail
2018-12-22 14:45:25 -05:00
Бранимир Караџић e8658ce369 Merge branch 'master' of github.com:bkaradzic/bgfx 2018-12-21 23:25:35 -08:00
Бранимир Караџић 22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić 147a379067 Cleanup. 2018-12-21 21:05:26 -08:00
Branimir Karadžić 5a996c95d9 Cleanup. 2018-12-21 20:39:31 -08:00
Branimir Karadžić 63e298795d Cleanup. 2018-12-21 18:02:39 -08:00
Бранимир Караџић e01edc6af1 Updated ImGui. 2018-12-21 09:08:06 -08:00
Branimir Karadžić 7b98546fd7 Removing old vector math. 2018-12-20 21:49:10 -08:00
Branimir Karadžić 11729403f4 Metal: Invalidate PSO when program is destroyed. Issue #1585. 2018-12-20 20:18:30 -08:00
Бранимир Караџић 3b62091bba Cleanup. 2018-12-20 18:35:43 -08:00
Бранимир Караџић 80e8ad2303 Updated ImGui. 2018-12-20 09:03:59 -08:00
Бранимир Караџић f9606320cf Merge pull request #1584 from cloudwu/fixnumvert
We should use numVertices here rather than draw.m_numVertices
2018-12-19 20:15:59 -08:00
Branimir Karadžić 85c3bedfee shaderc: Allow space as delimiter for in/out params. 2018-12-19 20:13:33 -08:00
Cloud Wu 4226bb242d We should use numVertices here rather than draw.m_numVertices 2018-12-20 10:28:12 +08:00
Branimir Karadžić a4776e297d Cleanup. 2018-12-19 17:16:48 -08:00
Branimir Karadžić 27e3a1984c D3D12: Added compute PSO caching. 2018-12-19 17:16:38 -08:00
Branimir Karadžić d1b6770776 D3D12: Fixed texture array UAV. 2018-12-19 17:16:09 -08:00
Бранимир Караџић cdb2ed3e92 Updated ImGui. 2018-12-19 09:53:22 -08:00
Бранимир Караџић 1e16bd40ef Merge pull request #1583 from pangweiwei/master
fix shaderrc generate wrong shader of matal
2018-12-19 08:55:14 -08:00
Pang Weiwei 5044400717 fix shaderrc generate wrong shader of matal 2018-12-19 20:26:53 +08:00
Бранимир Караџић fa60f6773b Updated README. 2018-12-18 21:02:23 -08:00
Бранимир Караџић abeb00f694 Cleanup. 2018-12-18 20:57:42 -08:00
Бранимир Караџић 2c25bff9de Merge pull request #1582 from mchiasson/renderdoc_glx_fix
can now use renderdoc on linux with OpenGL back-end
2018-12-18 20:36:15 -08:00