Commit 603699f1 ("vrend: Cleanup and fix bug in next_sampler_id tracking") fixed a rendering issue in Factorio but inadvertently changed the indexing behavior for shadow samplers in some related code cleaning.
shadow_samp_*_locs arrays are currently indexed according to the bit
position of a sampler in
sampler_index must be incremented for each sampler, not just for each
Fixes: 603699f1 ("vrend: Cleanup and fix bug in next_sampler_id tracking")
Signed-off-by: Ryan Neph email@example.com