Бранимир Караџић
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
Branimir Karadžić
bcfc99d094
Cleanup.
2018-11-25 20:11:03 -08:00
Branimir Karadžić
e8ff30accc
Revert "Small stylistic change"
...
This reverts commit 0b746ec0d8 .
2018-11-22 16:03:06 -08:00
TheComet
0b746ec0d8
Small stylistic change
2018-11-22 23:54:38 +01:00
TheComet
749bd14db4
fixes #1559 - Support opening default display when the user specifies a custom window handle but no display device
2018-11-22 23:32:44 +01:00
Branimir Karadžić
7639c5688c
Added access parameter for frame buffer attachment.
2018-11-16 17:59:46 -08:00
Branimir Karadžić
5ba94e7458
Cleanup.
2018-11-15 20:08:56 -08:00
Branimir Karadžić
48074e3eeb
Cleanup.
2018-11-14 20:01:51 -08:00
Branimir Karadžić
a50b76a9a3
Added ability to specify sampler flags for samplers used in compute shader.
2018-11-14 17:04:24 -08:00
Branimir Karadžić
a00cf3fec5
Cleanup.
2018-11-12 19:29:33 -08:00
Branimir Karadžić
3ba0c76550
D3D12: Detect device interface version.
2018-11-11 09:05:20 -08:00
Branimir Karadžić
01e37098a6
Fixed emscripten issue with glPolygonMode.
2018-11-09 10:15:32 -08:00