Archived
1
Fork 0
Commit graph

64 commits

Author SHA1 Message Date
redstrate
3f2be1e26a Fix viewports not rendering when index == nullptr 2021-10-13 10:38:10 -04:00
redstrate
9c83375ed0 Enable VK_KHR_portability_subset 2021-10-13 07:39:16 -04:00
redstrate
ff53532b55 Bump to Vulkan 1.2 2021-10-13 07:35:33 -04:00
redstrate
238650aa8d Enable 1.1 shader draw parameters feature 2021-10-13 07:33:30 -04:00
redstrate
a78a18a99a Set scissor for imgui commands 2021-10-13 07:25:18 -04:00
redstrate
68916bdee2 Increase number of Vulkan sets 2021-10-12 10:26:53 -04:00
redstrate
c6bc56d033 Change window handles into opaque pointers 2021-10-12 10:22:16 -04:00
redstrate
529bc27702 Replace old logging and format system with fmt 2021-09-13 23:41:54 -04:00
redstrate
b61eb98648 Fixes some clang-tidy warnings, remove fpermissive 2021-09-13 22:53:42 -04:00
redstrate
f6df3d23b3 Fix Vulkan queue creation on macOS 2021-09-13 13:47:42 -04:00
redstrate
71fe041691 Fix linux build issue 2021-07-18 18:29:30 -04:00
redstrate
5490b20769 Use VK_WHOLE_SIZE when mapping memory 2021-06-01 12:11:08 -04:00
redstrate
e8bf0a8371 Create presentation command buffers for each surface instead of sharing globally
* Fixes multi-window vulkan validation errors because surfaces would just keep overwriting each other's command buffers.
2021-06-01 12:05:48 -04:00
redstrate
2db8873f92 Fix imgui validation errors on Vulkan
* Eventually, get_buffer_contents() will be removed
2021-06-01 12:02:38 -04:00
redstrate
e63caf1a83 Fix some more image transition bugs related to vulkan dispatch 2021-06-01 11:49:27 -04:00
redstrate
f69d7c18fd Fix image layout transistions for mipmap gen 2021-06-01 11:10:58 -04:00
redstrate
e55a71402f Fix auto-exposure in Vulkan
* I forgot to bind the shader buffer again :-p (maybe we should change this functionality under Vulkan
to match Metal rules?)
2021-06-01 10:44:08 -04:00
redstrate
d999485325 Keep track of current texture layouts
* Fixes a few compute pipeline validation errors
2021-06-01 10:16:59 -04:00
redstrate
98ca5684b9 Change default min/mag filters on Vulkan to linear 2021-05-12 10:50:11 -04:00
redstrate
de928a44ce Implement GenerateMipmaps command in Vulkan 2021-05-12 10:29:29 -04:00
redstrate
4ebd53d89f Use debug utils version of debug markers 2021-05-12 10:10:42 -04:00
redstrate
e3c50ad204 Implement PushGroup and PopGroup command types in Vulkan 2021-05-12 10:06:29 -04:00
redstrate
01966c1d81 Rename File -> file and move under the prism namespace 2021-05-12 08:50:02 -04:00
redstrate
ee2771f45f Add compute pipeline support for Vulkan
* Image transition layouts are not handled correctly yet, so auto exposure does not work
* Image usage and guessed image layout is redone to remove some errors
2021-05-11 19:16:54 -04:00
redstrate
0d75b4f47e Properly report cubemap array support on Vulkan 2021-05-11 17:41:45 -04:00
redstrate
fcc3917155 Fix crash when trying to load scene editor on Vulkan 2021-05-11 17:05:43 -04:00
redstrate
5546c88cba IBL now works on Vulkan!
* Image transitions are handled more correctly, reducing errors
* Cubemaps are now transitioned properly when using the CopyTexture command
* Cubemap image views are created correctly
2021-05-11 15:57:14 -04:00
redstrate
39838aec0f Fix weird GCC log bug in vulkan backend 2021-05-09 20:32:04 -04:00
redstrate
5fb213db7e Remove descriptor set cache mesage on Vulkan 2021-05-09 19:49:10 -04:00
redstrate
bae6d05184 Move console and log namespaces to prism 2021-04-20 11:23:53 -04:00
redstrate
e01a31eb13 Use new SDL backend on Windows, fix numerous SDL problems as well 2021-04-20 00:23:14 -04:00
redstrate
744123763f Begin work on converting to the new class naming scheme and the new prism namespace 2021-04-19 12:06:44 -04:00
redstrate
0861278ae5 Fix running out of descriptor sets very early when resizing editor viewports 2021-04-18 21:40:09 -04:00
redstrate
9d3eb24d23 Add missing platform methods on Windows backend 2021-04-18 19:54:06 -04:00
redstrate
f0a1dc2f20 Add experimental SDL backend for Linux 2021-03-01 14:40:02 -05:00
redstrate
c7efea5258 Add more windowing stuff to Linux backend, fix some other clang-analyze bugs 2021-02-18 08:31:36 -05:00
redstrate
bf192cd23a Begin work for multiviewport support on Linux 2021-02-17 09:15:35 -05:00
redstrate
1a324e61af Remove dynamic data system, replace it on the renderer level 2021-02-17 08:51:47 -05:00
redstrate
1f98e19819 Fix compile issues on Vulkan, make render targets work in editor 2021-02-17 00:47:05 -05:00
redstrate
86efe2abf9 Fix up IBL stuff on Vulkan 2021-02-15 19:01:17 -05:00
redstrate
6d77396b4d Support CopyTexture command on Vulkan 2021-02-15 17:59:54 -05:00
redstrate
3e4cf70c8e Fix compilation issues on GCC/Linux 2021-02-15 15:06:13 -05:00
redstrate
8f4b9f593c Support all culling and winding modes on Vulkan 2021-02-07 16:37:38 -05:00
redstrate
a80b6034c5 Support all depth mode types on Vulkan 2021-02-07 16:34:22 -05:00
redstrate
a74465fefe Add support for the SetDepthBias cmd on Vulkan backend 2021-02-07 16:32:25 -05:00
redstrate
bc33054fb3 Add more sampler options to Vulkan backend 2021-02-07 16:22:06 -05:00
redstrate
90272af197 Only enable validation if found on system
Works with the new Vulkan configurator method of enabling validation. Also only enables debug printing if the extension is found.
2021-02-07 15:48:09 -05:00
redstrate
c92054e31b Better handling of non allocated descriptor sets
Stops editor from crashing when resizing too fast
2021-02-05 19:17:02 -05:00
redstrate
ae599ba744 Make fragment shader stage optional
Removes the fragment on (normal) shadow pass
2021-02-04 09:36:06 -05:00
redstrate
0b9a376c24 Fix command buffer sync 2021-02-04 09:19:17 -05:00