Commit Graph
3221 Commits
Author SHA1 Message Date
Attila Kocsis c39408173d Metal framebuffer attachment support
08-update: added a cube that has a texturecube that is rendered using framebuffer attachment. It looks the same as the one whose texture is updated with compute shader.
2019-01-24 19:20:35 +01:00
Бранимир Караџић d70be4f3c1 Cleanup. 2019-01-23 17:33:43 -08:00
Бранимир Караџић b5eec85631 D3D11: Fixed skip mip for 3D textures. 2019-01-22 18:34:56 -08:00
Бранимир Караџић a0c2907c22 Added internal debug names for index/vertex buffers, shaders, and textures. 2019-01-22 14:45:33 -08:00
attilaz 5dba3a93af MSL vs/fs shaders use spirv-cross 2019-01-22 22:31:41 +01:00
Бранимир Караџић 34c4d62937 Accepted PR #1596. 2019-01-21 09:52:21 -08:00
Attila Kocsis ce4ebddd17 Fixed Metal cubemap bind validation error 2019-01-18 21:43:37 +01:00
Бранимир Караџић 53a275438d Cleanup. 2019-01-17 19:59:46 -08:00
Бранимир Караџић fd45604047 Added setName for index, vertex, and frame buffers. 2019-01-17 17:30:09 -08:00
Branimir Karadžić 33ececeb96 Fixed PR #1595. 2019-01-16 21:30:58 -08:00
Бранимир Караџић cc9799e19f Merge pull request #1595 from blaztinn/d3d11-fb-multisample
Disable d3d11 non-main window framebuffer multisampling
2019-01-16 21:24:33 -08:00
Attila Kocsis bd55211065 getMips cubemap fix 2019-01-16 19:09:05 +01:00
attilaz b9b58296c7 metal compute shader generation 2019-01-14 09:24:06 +01:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Бранимир Караџић 6e75f9f663 Cleanup. 2019-01-10 22:12:16 -08:00
Бранимир Караџић 17d2f13f35 Cleanup. 2019-01-10 14:42:57 -08:00
Бранимир Караџић 490ecf1602 Cleanup. 2019-01-10 13:07:32 -08:00
Attila Kocsis 5cdd4de559 Moved autoreleasepool into renderframe 2019-01-10 20:25:06 +01:00
Бранимир Караџић 4647e99f51 D3D12: Fixed GPU crash when binding 3D image to compute for RW. 2019-01-09 18:38:48 -08:00
Бранимир Караџић 6e680baa15 Merge pull request #1605 from mchiasson/new_opengl_names
Added latest gl and gles versions
2019-01-05 17:50:37 -08:00
Mathieu-Andre Chiasson 14c8c69b02 Added latest gl and gles versions 2019-01-05 20:39:14 -05:00
Attila Kocsis 1708a4677e metal compute and drawindirect 2019-01-05 20:20:30 +01:00
Бранимир Караџић 0a1869d4f2 OSX: Disable deprecated warnings. 2018-12-28 22:24:36 -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
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
Бранимир Караџић d2daf54379 Metal: Fixed MSAA detection. 2018-12-25 23:20:14 -08:00
Бранимир Караџић f63a15160b Cleanup. 2018-12-24 22:54:08 -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
Бранимир Караџић 22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić 63e298795d Cleanup. 2018-12-21 18:02:39 -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
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
Бранимир Караџић 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
Branimir Karadžić 095188a533 Cleanup. 2018-12-18 16:11:41 -08:00
Branimir Karadžić fba9727f8e Cleanup. 2018-12-18 16:06:06 -08:00