Shader auto-simplifying method and system based on rendering instruction flow
US12094049B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Oct 21, 2020 |
| Grant date | Sep 17, 2024 |
| Priority date | — |
| Expiry date | Sep 17, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06V10/751
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A shader auto-simplifying method and system include: obtaining a rendering instruction flow, extracting a target shader from the rendering instruction flow, and creating a simplifying shader differing from the target shader in code only; intercepting a current frame of a rendering instruction with a rendering initiating instruction of the target shader as a particular frame; obtaining time consumed by the simplifying shader by measuring time needed for rendering the particular frame with the simplifying shader; obtaining error(s) of the simplifying shader by measuring a pixel difference value between a rendering frame drawn by the simplifying shader and the particular frame when a rendering instruction corresponding to the particular frame is executed; and screening an optimal simplifying shader according to the time consumed by the simplifying shader and the error of the simplifying shader.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.