Commit 2303416
cmake: per-renderer SCE-VSM override; default general_quad to Sony's VSM
Adds PS2GL_USE_SCE_VSM_FOR (semicolon-separated list of renderer names)
which forces those specific renderers to assemble from Sony's reference
VSM even when PS2GL_USE_SCE_VSM=OFF (the default open-source pipeline).
Defaults to "general_quad" because of a residual openvcl bug in that
specific shader: lesson04 / lesson05 render correctly (they route to
the simpler general_pv_diff_quad shader), but box.elf enables specular
lighting and routes to general_quad where the colors come out wrong
such that the cube blends into the clear color and is invisible.
Spliced Sony's general_quad VSM into an otherwise-openvcl build and
confirmed box.elf renders the cube clearly — proving the bug is
scoped to that one shader's emission, not a wider regression.
This keeps the open-source pipeline as the default for 12 of 13
renderers while shipping a working box.elf today. Once openvcl's
general_quad emission is fixed, the default for this option can drop
back to an empty list.
See memory/project_quad_bug_investigation_notes.md for the per-shader
splice experiment and the full breadcrumbs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a0a4b0c commit 2303416
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
115 | 130 | | |
116 | 131 | | |
117 | 132 | | |
| |||
177 | 192 | | |
178 | 193 | | |
179 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
180 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
181 | 210 | | |
182 | 211 | | |
183 | 212 | | |
| |||
0 commit comments