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
35786ac117
Fix Metal backend to use new shader naming format
2021-05-11 15:58:29 -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
fea83fc2e3
Fix macOS build
2021-05-10 07:58:22 -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
f3f6a219f6
Bring Metal backend up to speed
2021-02-17 01:08:46 -05:00
redstrate
1f98e19819
Fix compile issues on Vulkan, make render targets work in editor
2021-02-17 00:47:05 -05:00
redstrate
e8fc757d99
Add basic shader editing system
...
POC, only registered shader is the sky shader
2021-02-16 17:10:37 -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
d97e88741b
Handle pipelines with no fragment shaders on Metal
2021-02-05 19:50:19 -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
redstrate
f7de1441a5
Name main cmd bufs
2021-02-04 09:01:28 -05:00
redstrate
9d13316d0c
Properly transition image layouts after creation
2021-02-04 08:28:08 -05:00
redstrate
93b55e7022
Add debug names for textures
...
Also changes pipeline barrier behavior, disable project window on Windows, and change window resizing behaviour to get around Windows-specific bug
2021-02-04 08:21:40 -05:00
redstrate
38250e1663
Fix vulkan image transitions
2021-02-03 09:04:30 -05:00
redstrate
b3ecbab352
Last changes to make Vulkan backend work
...
Now it renders with IBL and shadows off! yay!
2020-09-30 19:18:17 -04:00
redstrate
525f5aa7f6
Flip vulkan viewport
2020-09-23 12:21:15 -04:00
redstrate
505934fae8
Fix last few vulkan errors
...
Vulkan backend now renders! (albiet incorrectly)
2020-09-23 11:54:59 -04:00
redstrate
1ba9222a43
Add labels for render passes and framebuffers
2020-09-23 10:17:24 -04:00
redstrate
482c7ef748
Fix vulkan backend validation errors
2020-09-23 09:53:45 -04:00
redstrate
96758b8b3e
Fix windows build
2020-09-23 08:44:14 -04:00
redstrate
24d3ac12c1
Add auto exposure mode
2020-09-22 20:05:51 -04:00
redstrate
4b4fc0b00d
Add buffer/image binding for compute, and add histogram construction
2020-09-22 17:27:10 -04:00
redstrate
5d93616e03
Add functions to dispatch compute workloads
2020-09-22 16:09:25 -04:00
redstrate
41ef1c33f5
Add framework for compute shaders
2020-09-22 15:39:20 -04:00
redstrate
174b50d1ba
Reorganize cmake folders
2020-09-22 12:54:08 -04:00
redstrate
bbd5b81de9
Small CMake improvements
2020-09-21 09:58:42 -04:00
redstrate
af3993abbd
Move some file utility into seperate header, update vulkan backend to compile fine
2020-08-27 20:36:24 -04:00