From 8fde202911c1aa17aab72439ec4a965575ba9bd4 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Wed, 28 Aug 2024 15:52:19 -0700 Subject: [PATCH] Ray-caster: drop unused depth-pair array This doesn't affect GPU performance noticeably, so benchmarks before and after the change should be comparable. --- app-proto/inversive-display/src/inversive.frag | 1 - 1 file changed, 1 deletion(-) diff --git a/app-proto/inversive-display/src/inversive.frag b/app-proto/inversive-display/src/inversive.frag index c469edc..213fbe2 100644 --- a/app-proto/inversive-display/src/inversive.frag +++ b/app-proto/inversive-display/src/inversive.frag @@ -136,7 +136,6 @@ void main() { // cast rays through the spheres const int SPHERE_MAX_INTERNAL = 6; - vec2 depth_pairs [SPHERE_MAX_INTERNAL]; taggedFrag frags [2*SPHERE_MAX_INTERNAL]; int layer_cnt = 0; for (int id = 0; id < sphere_cnt; ++id) {