Commitmacos/master603699f1
("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 samplers_used_mask and shadow_samp_mask, so sampler_index must be incremented for each sampler, not just for each shadow sampler. Fixes:603699f1
("vrend: Cleanup and fix bug in next_sampler_id tracking") Signed-off-by: Ryan Neph <ryanneph@google.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
parent
dc171451c7
commit
821b038399
Loading…
Reference in new issue