Invention Application
- Patent Title: SCALAR OPTIMIZATIONS FOR SHADERS
- Patent Title (中): SCALAR优化算法
-
Application No.: US13398793Application Date: 2012-02-16
-
Publication No.: US20130219377A1Publication Date: 2013-08-22
- Inventor: Andy Glaister , Blaise Pascal Tine , Derek Sessions , Mikhail Lyapunov , Yuri Dotsenko
- Applicant: Andy Glaister , Blaise Pascal Tine , Derek Sessions , Mikhail Lyapunov , Yuri Dotsenko
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT CORPORATION
- Current Assignee: MICROSOFT CORPORATION
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/45
- IPC: G06F9/45

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
- US09430199B2 Scalar optimizations for shaders Public/Granted day:2016-08-30
Information query