Backports tessellation shader support, safe zone shadow culling, and shader pack rendering directives.

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2026-01-30 18:10:27 -08:00
1 parent c5988d29c3
commit 969d2c3710
29 files changed
+418 -121

No files matched your search

@@ -86,7 +86,7 @@ public class ClearPassCreator {
// Sort buffers by their clear color so we can group up glClear calls.
Map<Vector4f, IntList> clearByColor = new HashMap<>();
for (int i = 0; i < renderTargetDirectives.getColorSamplingSettings().size(); i++) {
for (int i = 0; i < Math.min(renderTargetDirectives.getColorSamplingSettings().size(), renderTargets.getNumColorTextures()); i++) {
// unboxed
PackShadowDirectives.SamplingSettings settings = renderTargetDirectives.getColorSamplingSettings().get(i);