Implementer caught that the original Task 2 (replace UploadRgba8 target with Texture2DArray) would break four legacy consumers whose shaders sample via sampler2D: WbDrawDispatcher (pre-rewrite path), StaticMeshRenderer, InstancedMeshRenderer (legacy escape hatch), ParticleRenderer. Revised: Task 2 ADDS a parallel UploadRgba8AsLayer1Array. Existing UploadRgba8 (Texture2D) stays for legacy callers. Task 3's Bindless* methods will call the new array path with their own cache dictionaries. Same surface may be uploaded twice during transition; bounded cost. N.6 cleanup deletes the legacy path. Task 3 will be amended at dispatch time to reflect parallel caches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| plans | ||
| specs | ||