Invention Grant
US09430199B2 Scalar optimizations for shaders 有权
着色器的标量优化

Scalar optimizations for shaders
Abstract:
Described herein are optimizations of thread loop intermediate representation (IR) code. One embodiment involves an algorithm that, based on data-flow analysis, computes sets of temporary variables that are loaded at the beginning of a thread loop and stored upon exit from a thread loop. Another embodiment involves reducing the size of a thread loop trip for a commonly-found case where a piece of compute shader is executed by a single thread (or a compiler-analyzable range of threads). In yet another embodiment, compute shader thread indices are cached to avoid excessive divisions, further improving execution speed.
Public/Granted literature
Information query
Patent Agency Ranking
0/0