r_patchStitching
OpenJK
Enable stitching of neighbouring patch surfaces
At a glance
| Field | Value |
|---|---|
| Category | Graphics & rendering |
| Module | renderer |
| Also registered in | renderer |
| Renderer | rd-dedicated, rd-rend2, rd-vanilla, rd-vulkan |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | No |
| Default | 1 |
| Value type | bool |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/rd-vanilla/tr_bsp.cpp:1395 |
1 |
Enabled. | codemp/rd-vanilla/tr_bsp.cpp:1395 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
renderer |
rd-dedicated |
always |
1 |
renderer |
rd-rend2 |
always |
1 |
renderer |
rd-vanilla |
always |
1 |
renderer |
rd-vulkan |
always |
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
540edeb67fd6in OpenJK (content authored2024-02-09, integrated2024-02-09) - TaystJK integration evidence:
ea0478621b05 - Origin pull request: #141
- Matching squash bullet:
replace PATCH_STITCHING preprocessor define with r_patchStitching cvar (#1199) - Upstream registration evidence: codemp/rd-dedicated/tr_init.cpp:459
- Attribution method:
earliest-authored-project-introduction - Attribution confidence:
high - Notes: Dated commit evidence identifies later registration changes relative to the origin snapshot.
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 |
|---|---|---|---|---|---|
| OpenJK | 2024-02-09 |
— | 2024-02-09 |
540edeb67fd6 |
Ultimate origin |
| rend2 | 2024-02-09 |
— | 2024-02-19 |
49adb7447c9f |
Other project appearance |
| TaystJK | 2024-02-10 |
2024-02-09 | 2024-02-10 |
ea0478621b05 |
Other project appearance |
| jaPRO | 2024-02-10 |
— | 2024-02-10 |
ea0478621b05 |
Other project appearance |
| Vulkan | 2024-04-15 |
— | 2024-04-15 |
7aca5689c198 |
Other project appearance |
| NewJK / NewMod | 2026-08-09 |
— | 2026-08-09 |
686cbf9b649b |
Other project appearance |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2024-02-10 |
TaystJK | ea0478621b05 · PR #141Patch stitching (#141) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-dedicated/tr_init.cpp, codemp/rd-rend2/tr_init.cpp, codemp/rd-vanilla/tr_init.cpp and 1 more |
medium |
2024-04-24 |
TaystJK | c7590dfd5fd2 · PR #190Upstream vulkan updates (#190) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vulkan/tr_init.cpp |
medium |
Evidence
- registration: codemp/rd-dedicated/tr_init.cpp:457 (Cvar_Get)
- registration: codemp/rd-rend2/tr_init.cpp:1725 (Cvar_Get)
- registration: codemp/rd-vanilla/tr_init.cpp:1780 (Cvar_Get)
- registration: codemp/rd-vulkan/tr_init.cpp:777 (Cvar_Get)
- registration: codemp/rd-vulkan/tr_init.cpp:906 (Cvar_Get)
- behavior: codemp/rd-vanilla/tr_bsp.cpp:1395
- behavior: codemp/rd-vanilla/tr_bsp.cpp:1401
- behavior: codemp/rd-vulkan/tr_bsp.cpp:1684
- behavior: codemp/rd-vulkan/tr_bsp.cpp:1690
- behavior: shared/rd-rend2/tr_bsp.cpp:2421