Commit Graph

2508 Commits

Author SHA1 Message Date
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
Бранимир Караџић
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 6bff345637/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
Mathieu-Andre Chiasson
da6274299d can now use renderdoc on linux with OpenGL back-end 2018-12-18 17:19:00 -05:00
attilaz
ec321a836e added texture functions (array,offset,gather) and image types 2018-12-13 22:30:13 +01:00
Бранимир Караџић
197eae86c9 GL: FIxed binding compute RO image. 2018-12-12 19:04:10 -08:00
Daniil Sunyaev
119ddbaea5 add array shadow and cube shadow samplers for hlsl 2018-12-11 22:47:25 +03:00
Branimir Karadžić
2c37f2178c D3D11: Supress validation errors. 2018-12-10 17:47:51 -08:00
Attila Kocsis
28c1ffd28f iOS metal fixes 2018-12-09 10:03:21 +01:00
Branimir Karadžić
0336c7ba34 Removing old vector math. 2018-12-06 22:25:47 -08:00
Branimir Karadžić
54c2ccf31e Metal: Moving auto release pool inside renderer. Issue #1269. 2018-12-05 22:08:05 -08:00
Branimir Karadžić
7b0b90e42a Cleanup. 2018-11-28 22:11:49 -08:00
Branimir Karadžić
629b2cb787 Cleanup. 2018-11-28 21:54:37 -08:00
Branimir Karadžić
2b919c1ec4 Metal: Added swap chain support. Manual merge from PR #1563. 2018-11-28 15:19:45 -08:00
Branimir Karadžić
037fda1ebc Cleanup. 2018-11-26 19:41:32 -08:00
Branimir Karadžić
9abc80cb62 Removed use of debugPrintf. 2018-11-26 17:32:15 -08:00