Ray-caster: drop unused depth-pair array
This doesn't affect GPU performance noticeably, so benchmarks before and after the change should be comparable.
This commit is contained in:
parent
4afc82034b
commit
8fde202911
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user