Commit Graph

2539 Commits

Author SHA1 Message Date
Бранимир Караџић
dd10b04651 Fixed texture array frame buffer. 2019-02-07 18:02:48 -08:00
Бранимир Караџић
2f8df0dd35 Cleanup. 2019-02-04 12:57:13 -08:00
attilaz
8aff45398a clearquad uses uniform update instead of vertex update 2019-02-04 17:42:28 +01:00
Trent Reed
a048f9944c Correct pitch usaged for D3D9 updateTexture calls.
+ Add useD3D9Pitch helper function.
+ Add calcRowPitch helper function.
+ Update TextureD3D9::update to consider block compression.
  (Originally, it was not considering block size for updating.)
+ Update TextureD3D9::update to calculate pitch in certain cases.
  (Specifically BC4 and BC5 are known to provide the wrong pitch.)
2019-02-01 17:00:02 -08:00
Бранимир Караџић
9054588331 Fixed texture mip mismatch. 2019-01-30 17:43:28 -08:00
Бранимир Караџић
f191a5319e Cleanup. 2019-01-29 22:30:58 -08:00
Branimir Karadžić
001cfa1ba1 Cleanup. 2019-01-29 20:46:55 -08:00
Бранимир Караџић
ec4b823db7 Fixed skip mips when crating BC textures. 2019-01-29 17:43:57 -08:00
Branimir Karadžić
b32981d97c VK: Debug names. 2019-01-26 21:31:36 -08:00
Branimir Karadžić
1658b6a100 Fixed build. 2019-01-26 17:43:28 -08:00
Бранимир Караџић
3aeb8ce065 GL: Cleanup. 2019-01-26 15:27:04 -08:00
Бранимир Караџић
7a45afd5a5 VK: WIP. 2019-01-26 15:26:46 -08:00
Бранимир Караџић
17a620a609 Cleanup. 2019-01-25 17:18:30 -08:00
Sean Burgoon
3e517c5f1b
Fixed missing paren on line 2227 for WinRT
WINRT version doesn't compile due to typo
2019-01-25 00:01:53 -08:00
Branimir Karadžić
200778511e Cleanup. 2019-01-24 20:35:09 -08:00
Бранимир Караџић
916d159965 Cleanup. 2019-01-24 20:28:26 -08:00
Branimir Karadžić
75bb36d0fb GL: Fixed setting name of write only texture. 2019-01-24 19:43:14 -08:00
Бранимир Караџић
575c6ebda4 GL: Workaround issue with setting texture name. 2019-01-24 19:34:29 -08:00
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