Invention Grant
- Patent Title: Scalar optimizations for shaders
- Patent Title (中): 着色器的标量优化
-
Application No.: US13398793Application Date: 2012-02-16
-
Publication No.: US09430199B2Publication Date: 2016-08-30
- 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 Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agent Sunah Lee; Judy Yee; Micky Minhas
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06T15/00 ; G06F9/455

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
- US20130219377A1 SCALAR OPTIMIZATIONS FOR SHADERS Public/Granted day:2013-08-22
Information query