SFGraphics icon indicating copy to clipboard operation
SFGraphics copied to clipboard

Optimize setting texture uniforms

Open ScanMountGoat opened this issue 5 years ago • 1 comments

This will greatly improve rendering performance. Many of the validation checks are redundant. For a generic material, the checks should only be performed once per shader.

ScanMountGoat avatar Jul 09 '19 21:07 ScanMountGoat

This is partially fixed by e58a466b8d3a299097ab81f9bea76d0356cb69dd. Skipping redundant uniform validation will also improve performance, but will be harder to implement correctly.

ScanMountGoat avatar Jun 09 '20 19:06 ScanMountGoat