Commit graph

10 commits

Author SHA1 Message Date
Denis Pauk
ba37a2b3ba Sync comments with ReRelease and version bump 2023-11-19 00:02:18 +02:00
Denis Pauk
831b29b8c5 Realloc s_blocklights if small
Use r_lightmap for show lightmap
2023-08-21 18:07:53 +03:00
Denis Pauk
c6ce695406 Add dkm models support (daikatana)
Based on:
 * [TrenchBroom](https://github.com/TrenchBroom/TrenchBroom/blob/master/common/src/IO/DkmParser.cpp)
 * [dkm2md2](http://charles.hollemeersch.net/daikatana-tools/)
2023-02-17 23:57:00 +02:00
Denis Pauk
bc7cec0e14 update docs 2023-01-28 23:22:35 +02:00
Denis Pauk
127de0b1e0 rename vk_polyblend to r_polyblend 2023-01-23 00:27:29 +02:00
Denis Pauk
def5407ae0 Use first found optimal flags in select memory
Should fix #34, when NVIDIA card provides memory type with several
addional flags more than code has asked but retuns error on allocate.
Code has be changed to use first memory type with minimal prefered
properties.

E.g. if code needs VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, a first block should be used
instead a fourth as before:
```
Memory blocks:
   1: VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT
   2: VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
   3: VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT VK_MEMORY_PROPERTY_HOST_COHERENT_BIT VK_MEMORY_PROPERTY_HOST_CACHED_BIT
   4: VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
```
2022-12-11 00:35:05 +02:00
Denis Pauk
8a79f754d2 Rename vk_validation to r_validation
Prepare to merge share image load: https://github.com/yquake2/yquake2/pull/924
2022-11-19 14:39:55 +02:00
Denis Pauk
29c0fd21cc Update usage information. 2022-07-11 00:12:29 +03:00
Denis Pauk
e5739a5a42 Update README 2022-07-09 19:38:16 +03:00
Yamagi
4b536019c3 Add the vkQuake2 Vulkan renderer ported to YQ2.
This was first developed in a feature branch in the main yquake2 repo.
It was merged into master in early 2021, but the experiences of the
following month showed that it is not ready for prime time. There're
glitches with 3rd party assets, restarts are still shaky, etc. Having
the code in a separate repo allows us to:

  * Release Vulkan independent if YQ2.
  * Give commit access to contributors interested in Vulkan.

This code is the same as in yquake/yquake2 ecdf912713eef55d6c5d5a772259b44e3fc232c4.
2021-05-26 10:31:01 +02:00