Commit graph

107 commits

Author SHA1 Message Date
Yamagi
e00ee16349 Add a simple .gitignore file. 2021-06-07 07:14:36 +02:00
Spirrwell
38e3d897f3 #if 0 Vk_Upload32 to silence unused warning
Could just remove Vk_Upload32, but it might be useful in the future.
2021-06-02 22:12:09 -04:00
Spirrwell
9bb0babd79 Don't use power of 2 scaling for RE_Draw_StretchRaw
Missed this when removing power of 2 scaling for issue https://github.com/yquake2/ref_vk/issues/3
2021-06-02 11:11:21 -04:00
Spirrwell
b4c06b4a84 Don't scale images using nearest power of 2
This fixes issue "3" from here: https://github.com/yquake2/ref_vk/issues/3

This differs from GL3 in that it still supports vk_picmip.

Vk_Upload32 is no longer used, but I left it in case it has some use in the future.
2021-06-01 22:50:47 -04:00
Spirrwell
0f073e3b28 Disable blending for non-translucent pipeline
This should fix issue 669: https://github.com/yquake2/yquake2/issues/669
2021-05-29 05:24:23 -04: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
Yamagi
6d795b68a2 Base commit. 2021-05-25 13:18:50 +02:00