Commit Graph

14 Commits

Author SHA1 Message Date
Ivan Avdeev 46da9ad457 rtx: request RTX device extensions when -rtx argument is present
It doesn't do anything yet.
2021-02-22 09:46:29 -08:00
Ivan Avdeev 6b2c8977ae add pipeline cache 2021-02-06 11:38:21 -08:00
Ivan Avdeev e848e312d3 add VK_EXT_debug_utils labels
This extension allows adding labels to vulkan objects and insert string
labels into command buffers. This is visible in tools like RenderDoc and
helps with debugging a lot.

When running with -vkdebug:
- mark all texture VkImages and VkImageViews with corresponding names
- label brush model draw calls accordingly
2021-01-31 16:50:27 -08:00
Ivan Avdeev 5d0146e17a draw static map geometry with debug shader
there are lots of glitches and no textures, but this is a first step!
2021-01-23 19:38:00 -08:00
Ivan Avdeev 5a2ad5965d add depth buffer and map geometry loading
it's not being drawn yet though
2021-01-23 10:54:44 -08:00
Ivan Avdeev ef3a1ad4af handle surface resize 2021-01-18 11:15:51 -08:00
Ivan Avdeev d4c463c507 move swapchain to framectl; make validation errors crash process early 2021-01-18 10:54:48 -08:00
Ivan Avdeev 4d6739da0a get it to crappily draw 2d ui menus wtf 2021-01-16 17:02:43 -08:00
Ivan Avdeev 5541bfb541 add loading textures 2021-01-16 15:45:10 -08:00
Ivan Avdeev b9d872f279 increase draw limit; fix deinit validation 2021-01-16 13:49:07 -08:00
Ivan Avdeev 48e6765222 draw uv menu 2021-01-16 13:22:31 -08:00
Ivan Avdeev e7a99c2558 create command pool and buffer 2021-01-13 12:10:36 -08:00
Ivan Avdeev 5600cf45ef create pipeline for 2d rendering 2021-01-13 11:54:34 -08:00
Ivan Avdeev 3e800fa989 start splitting into functional blocks; add vk funcs 2021-01-09 13:21:58 -08:00