Bill Currie
b33df8b698
[vulkan] Clean up a pile of unnecessary includes
2022-05-08 17:57:40 +09:00
Bill Currie
e62b7d7b05
[vulkan] Allow QFV_ImageFormat to select unorm or srgb
...
This is definitely something that should be selectable per image and not
hard-coded into the engine.
2022-05-08 14:15:20 +09:00
Bill Currie
8e658eac78
[vulkan] Correct a pile of copyright attributions
...
Id Software had pretty much nothing to do with the vulkan renderer (they
still get credit for code that's heavily based on the original quake
code, of course).
2022-05-04 14:44:54 +09:00
Bill Currie
9d7cad420d
[vulkan] Add a function to translate QFFormat to VkFormat
...
It's not great, but it does produce reasonable results for the formats
supported by QF's image system.
2022-05-04 13:57:02 +09:00
Bill Currie
d35154ecf1
[vulkan] Clean up a lot of unnecessary includes
...
Too much copying of base files.
2022-03-30 15:54:07 +09:00
Bill Currie
a4f71cb4d5
[renderer] Clean out unneeded input.h includes
...
I really don't know how it goot into the gl/glsl vid_common files, but I
imagine it propogated to vulkan because I copied one then cloned from
there.
2021-10-01 13:11:14 +09:00
Bill Currie
dc9b64fadd
[vulkan] Clean up image barriers a bit
...
Mostly, this gets the stage flags in with the barrier, but also adds a
couple more barrier templates. It should make for slightly less verbose
code, and one less opportunity for error (mismatched barrier/stages).
2021-04-24 12:42:29 +09:00
Bill Currie
c5c44da727
[vulkan] Implement screenshot
...
Finally, I can brag about my progress on irc :)
2021-03-24 19:20:53 +09:00
Bill Currie
0d4ca46923
[vulkan] Move mip map generation commands to image
2021-02-02 00:04:45 +09:00
Bill Currie
c7eafd9254
[vulkan] Make the mip map generation public
...
I've decided that alias model skins should be in a single four-level
array texture rather than spread over four textures, but there's no way
I want to write that code again: getting it right was hard enough the
first time :P
2021-02-01 12:16:05 +09:00
Bill Currie
1e163fd2d7
[vulkan] Correct QFV_CreateImage samples type
...
Not sure why I though FlagBits was correct instead of Flags.
2021-01-18 02:08:55 +09:00
Bill Currie
b584d6f403
[vulkan] Abandon image "preinitialized" layout
...
Turn's out it's not useful for transfers. I might bring it back when I
figure out how to use it.
2021-01-11 01:25:55 +09:00
Bill Currie
ef817a5cbf
[vulkan] Allow images to be created initialized
...
Needed for loaded textures.
2021-01-10 15:26:09 +09:00
Bill Currie
1f4c019abc
Create and destroy color/depth resources
2020-02-18 14:28:28 +09:00
Bill Currie
94565c2382
Rework much of the Vulkan array handling
...
So much for all those little wrappers hiding the device. Some survived,
but mostly just the bigger things like device, swapchain, etc.
2020-02-17 20:29:35 +09:00
Bill Currie
29b1d6baf8
Finish up memory stuff
...
For now, of course.
2020-02-11 09:37:04 +09:00
Bill Currie
43e37aa31e
Separate out the generic memory stuff
2020-02-10 18:33:29 +09:00
Bill Currie
9fdc15c439
Implement image stuff up to view creation
2020-02-10 18:18:37 +09:00