David Carlier
40af78f13a
silencing few static analyzers warnings.
2023-01-29 09:26:23 +00:00
Denis Pauk
bc7cec0e14
update docs
2023-01-28 23:22:35 +02:00
Denis Pauk
f985309ad9
Merge pull request #29 from yquake2/mdl_models
...
MDL/FM models support
2023-01-23 01:12:17 +02:00
Denis Pauk
e20dd0a717
Add fm/heretic2 model support
...
Save additional list of meshes between dmdl_t and list of skins.
https://sourceforge.net/p/quark/code/HEAD/tree/runtime/trunk/plugins/ie_fm_import.py
2023-01-23 01:08:09 +02:00
Denis Pauk
175454e302
Add Quake mdl format support
...
http://tfc.duke.free.fr/coding/mdl-specs-en.html
2023-01-23 00:48:56 +02:00
Denis Pauk
127de0b1e0
rename vk_polyblend to r_polyblend
2023-01-23 00:27:29 +02:00
Denis Pauk
4bcaa90af7
Share R_CullBox and R_SetFrustum
...
0cd2eed28b
2023-01-22 00:30:47 +02:00
Denis Pauk
4c6bc1a14c
Share R_MarkLights
...
32ab1e1815
2023-01-22 00:21:00 +02:00
Denis Pauk
f9ae8da233
Share R_AreaVisible
...
d326b1be51
2023-01-22 00:10:34 +02:00
Denis Pauk
518ada7ea6
Share R_TextureAnimation
...
c17210b34a
2023-01-22 00:05:14 +02:00
Denis Pauk
de9b099995
Share Mod_PointInLeaf
...
42bfb2014c
2023-01-21 23:54:57 +02:00
Denis Pauk
659a5c489a
Share Mod_Load* functions
...
442fe10f27
2023-01-21 23:45:49 +02:00
Denis Pauk
6c3c2f3ec2
Share mnode_t and mleaf_t struct between renders.
...
4463e1fcd7
2023-01-21 23:24:51 +02:00
David Carlier
0f6d05ed9b
Using VK_debug_report extension if available.
2023-01-15 18:52:04 +02:00
Denis Pauk
495a40dffd
support custom separator inside filter
2023-01-10 00:31:36 +02:00
Denis Pauk
28ed516c34
Version bump to 1.0.4
2023-01-02 17:18:39 +02:00
Denis Pauk
8b6de3a4c1
Fix m32 load
2022-12-31 16:29:52 +02:00
Denis Pauk
879808af8c
Merge pull request #36 from yquake2/shared_images
...
Reuse image load with other renders
2022-12-15 23:04:56 +02:00
Denis Pauk
a234f687a4
Share SURF_* values between renders
...
Reuse DRAWSKY value in soft render instead unused
DRAWSKYBOX and SURF_FLOW.
Move mipadjust calculation to usage place in soft render.
2022-12-14 22:09:15 +02:00
Denis Pauk
55330be2ae
Image: Share Mod_ReLoadSkins
2022-12-14 22:09:15 +02:00
Denis Pauk
e753629e2d
Image: show missed images with r_validation
2022-12-14 22:09:13 +02:00
Denis Pauk
d8e77a5e82
Image: Check skin image before use
2022-12-14 22:07:42 +02:00
Denis Pauk
e9f0826582
Image: Share Draw_FindPic
2022-12-14 22:07:42 +02:00
Denis Pauk
d382472026
Image: Share GetTexImage
2022-12-14 22:07:42 +02:00
Denis Pauk
20360c5ad6
Image: Share loadSky textures
...
Add support of `r_palettedtextures` to all renders.
2022-12-14 22:07:40 +02:00
Denis Pauk
17fb10d683
Image: Share LoadImage
2022-12-14 22:05:30 +02:00
Denis Pauk
b434562325
Image: Share Hicolor
2022-12-14 22:05:30 +02:00
Denis Pauk
ac2311f873
Image: Add M32 support functions
...
https://github.com/TTimo/GtkRadiant/blob/master/plugins/imagem8/m32.h
2022-12-14 22:05:30 +02:00
Denis Pauk
94fc74ca9d
Image: Share M8
2022-12-14 22:05:30 +02:00
Denis Pauk
1732f4c6fe
Image: Share code for load Wal
2022-12-14 22:05:30 +02:00
Denis Pauk
fa2794ef75
Image: Share code for add file extension
2022-12-14 22:05:30 +02:00
Denis Pauk
d6b350572a
Images: Get rid of custom Draw_GetPalette and move to pcx.c
2022-12-14 22:05:30 +02:00
Denis Pauk
3da1dd3a8d
Merge pull request #37 from devnexen/fix_last_commit_on_validation
...
r_validation CVar to take in account only when positive.
2022-12-14 21:59:57 +02:00
David Carlier
3907262678
r_validation CVar to take in account only when positive.
2022-12-13 21:51:44 +00:00
Denis Pauk
39738797a1
version bump
2022-12-11 19:16:35 +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
335b8855e2
Apply shared filtering logic for lerplist
2022-12-11 00:06:18 +02:00
David CARLIER
aefe787eca
trying out PRI* print formats
2022-12-09 15:38:40 +00:00
Denis Pauk
889ff7a067
Additional ugly hack to make apple clang happy
...
Otherwise on arm64 linux:
```
src/vk/vk_common.c:2513:37: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘VkDeviceSize’ {aka ‘long unsigned int’} [-Wformat=]
2513 | R_Printf(PRINT_ALL, "%s: %d: Resize stanging buffer" YQ2_COM_PRIu64 "->" YQ2_COM_PRIu64 "\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2514 | __func__, vk_activeStagingBuffer, stagingBuffer->resource.size, size);
| ~~~~
| |
| VkDeviceSize {aka long unsigned int}
src/vk/header/../../common/header/common.h:722:28: note: format string is defined here
722 | #define YQ2_COM_PRIu64 "%llu"
| ~~~^
| |
| long long unsigned int
| %lu
```
2022-12-08 23:25:33 +02:00
Denis Pauk
9b55cdb921
Add additional warnings for memory allocate error
2022-12-08 22:53:50 +02:00
Denis Pauk
d39193d419
Merge pull request #33 from devnexen/vk_common_arg_fix
...
fix printf format warnings to represent VkDeviceSize (aka uint64_t).
2022-12-08 22:20:23 +02:00
David CARLIER
68a1e5de14
fix printf format warnings to represent VkDeviceSize (aka uint64_t).
2022-12-07 23:32:25 +00:00
Denis Pauk
2b01442235
Fix vk build on debian stable with 1.2.162 headers
2022-11-26 13:15:13 +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
42ab79aa1d
Add datasize parameter to LoadPic
...
Prepare to merge share image load: https://github.com/yquake2/yquake2/pull/924
2022-11-19 14:37:53 +02:00
Denis Pauk
646b65dfa8
Merge pull request #32 from devnexen/uninitialize2
...
Vk_LoadPic fix unitialized var.
2022-11-19 13:25:46 +02:00
David Carlier
44ab39c57c
Vk_LoadPic fix unitialized var.
...
R_MarkLeaves data alignment to int when merging PVS clusters like GL renderers.
2022-11-19 10:46:12 +00:00
Denis Pauk
8bd731b89c
Merge pull request #31 from devnexen/fix_uninit
...
Vk_LoadPic uninitialized vars for 8 bits case.
2022-11-13 19:25:06 +02:00
David Carlier
25225b8ab9
Vk_LoadPic uninitialized vars for 8 bits case.
...
VK_DrawParticles rgb calculation align to color' table type.
2022-11-13 08:57:01 +00:00
Denis Pauk
925ed6a547
Update shared.c from yquake2
...
0bc3ac6079
2022-11-07 23:20:03 +02:00