r_renderScale
Vulkan
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Scaling mode to be used with custom render resolution: 0 - disabled. 1 - nearest filtering, stretch to full size. 2 - nearest filtering, preserve aspect ratio (black bars on sides). 3 - linear filtering, stretch to full size. 4 - linear filtering, preserve aspect ratio (black bars on sides)
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | enum |
| Restart | Yes; the value is latched. |
| Manually settable | Yes |
| Cheat protected | No |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | Graphics & rendering |
| Module | renderer |
| Renderer | rd-vulkan |
| Derivation | documented |
| Confidence | medium |
| Added | 2021-05-25 in c4a9c87ef needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/rd-vulkan/tr_init.cpp:967 |
1 |
Nearest filtering, stretch to full size. | codemp/rd-vulkan/tr_init.cpp:967 |
2 |
Nearest filtering, preserve aspect ratio (black bars on sides). | codemp/rd-vulkan/tr_init.cpp:967 |
3 |
Linear filtering, stretch to full size. | codemp/rd-vulkan/tr_init.cpp:967 |
4 |
Linear filtering, preserve aspect ratio (black bars on sides). | codemp/rd-vulkan/tr_init.cpp:967 |
Enforced ranges
0through4(integer; Cvar_CheckRange). Evidence: codemp/rd-vulkan/tr_init.cpp:973
Flags
CVAR_ARCHIVE_ND: saved to configuration without marking the cvar as user-createdCVAR_LATCH: latched until the relevant subsystem or map is restarted
Provenance
Origin: Vulkan
- Ultimate-origin introduction:
c4a9c87ef0e3in Vulkan (content authored2021-05-25, integrated2021-05-25) - Upstream registration evidence: codemp/rd-vulkan/tr_init.cpp:966
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits vulkan.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| TaystJK | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Shared integration commit |
| jaPRO | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Shared integration commit |
| Vulkan | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Ultimate origin |
| NewJK / NewMod | 2026-08-09 |
— | 2026-08-09 |
686cbf9b649b |
Other project appearance |
Evidence
- registration: codemp/rd-vulkan/tr_init.cpp:967 (Cvar_Get)
- behavior: codemp/rd-vulkan/vk_init.cpp:39
- behavior: codemp/rd-vulkan/vk_init.cpp:70
- behavior: codemp/rd-vulkan/vk_init.cpp:339
- behavior: codemp/rd-vulkan/vk_init.cpp:41
- behavior: codemp/rd-vulkan/tr_init.cpp:973
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.