Make disableShadowsForStateSet a no-op when shadows are disabled

Otherwise the GPU has to do useless shadow comparisons when shadows are disabled.

Merge request reports

Loading
Loading