ScanMountGoat/SFGraphics

Optimize setting texture uniforms

Opened this issue · 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.

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