Invention Grant
- Patent Title: Multi-version shaders
-
Application No.: US16509165Application Date: 2019-07-11
-
Publication No.: US11243752B2Publication Date: 2022-02-08
- Inventor: Sumesh Udayakumaran
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Volpe Koenig
- Main IPC: G06F15/00
- IPC: G06F15/00 ; G06F8/41 ; G06T15/06 ; G06T15/00 ; G06F8/71

Abstract:
Described herein are techniques for generating a stitched shader program. The techniques include identifying a set of shader programs to include in the stitched shader program, wherein the set includes at least one multiversion shader program that includes a first version of instructions and a second version of instructions, wherein the first version of instructions uses a first number of resources that is different than a second number of resources used by the second version of instructions. The techniques also include combining the set of shader programs to form the stitched shader program. The techniques further include determining a number of resources for the stitched shader program. The techniques also include based on the determined number of resources, modifying the instructions corresponding to the multiversion shader program to, when executed, execute either the first version of instructions, or the second version of instructions.
Public/Granted literature
- US20210011697A1 MULTI-VERSION SHADERS Public/Granted day:2021-01-14
Information query