Archived
1
Fork 0
Commit graph

33 commits

Author SHA1 Message Date
0a95ee2fa8 Next big changes to make WebGPU work
Dynamic buffers are removed, since that's now the renderer's job. Texture usage and buffer usage has changed too.
2022-03-07 11:11:17 -05:00
a0d92be759 Start to separate combined image samplers
This is to be in line with requirements from HLSL/DX12 and WebGPU,
both of which do not support this. It's probably better to get
started removing our usage of them now :-)
2022-03-06 22:45:08 -05:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
f69d7c18fd Fix image layout transistions for mipmap gen 2021-06-01 11:10:58 -04:00
redstrate
eab8a265f4 Add probe refresh timer (similiar to how shadows work) to generate probes correctly on scene load 2021-05-12 10:33:38 -04:00
redstrate
de928a44ce Implement GenerateMipmaps command in Vulkan 2021-05-12 10:29:29 -04:00
redstrate
9951ffa58e Rename vecX -> floatX 2021-05-12 09:56:44 -04:00
redstrate
fa65e99094 Rename Path -> path 2021-05-12 09:05:56 -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
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
87f15b2007 Completely redo the CMake shader compilation system
* Now shader recompilation happens only when it needs to. Hurray for faster compiles!
* Changes to constructors for ShaderSource to make it more explicit.
* The version of SPIRV-Cross is updated, and now the glslang version pulled correctly matches what SPIRV-Cross needs. This fixes the annoying "cannot parse built-ins" bug.
2021-05-09 19:10:23 -04:00
redstrate
7b23fdfa09 Rename Renderer to renderer, move it to prism namespace, and rename last of member variables 2021-04-20 13:53:38 -04: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
e9bb4bc82c More debug label changes 2021-02-05 19:17:13 -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
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
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
5d93616e03 Add functions to dispatch compute workloads 2020-09-22 16:09:25 -04:00
redstrate
29633020c9 Remove unnecessary includes 2020-09-20 23:31:03 -04:00
redstrate
8f652f8b7d Fix SRGB handling, now converting from srgb->linear properly 2020-08-19 22:09:32 -04:00
redstrate
56cfc02816 Fix look_at, and stop scene capture from creating cubemap seams 2020-08-19 17:15:00 -04:00
redstrate
b2deff18aa Remove correction_matrix, produce left-handed transforms, and fix PCSS shadowing 2020-08-18 00:35:49 -04:00
redstrate
519e4cb9b1 Fix scene probes rendering the sky incorrectly 2020-08-17 10:56:15 -04:00
redstrate
2181611c2e Remove extraneous debug messages 2020-08-17 10:11:58 -04:00
redstrate
92e04068fd Remove kD term, improve fresnel reflections and fix scene capture 2020-08-16 23:31:00 -04:00
redstrate
80fd8a375b Unify standalone and runtime shader compiler, rename old ShaderCompiler to MaterialCompiler 2020-08-15 20:09:16 -04:00
redstrate
9cd7860ab9 Clean up sky shaders and extra push constant data 2020-08-14 23:32:02 -04:00
redstrate
4b642fcb66 Add initial files 2020-08-11 12:07:21 -04:00