Invention Grant
- Patent Title: Shader auto-simplifying method and system based on rendering instruction flow
-
Application No.: US17626786Application Date: 2020-10-21
-
Publication No.: US12094049B2Publication Date: 2024-09-17
- Inventor: Hujun Bao , Rui Wang , Dejin He , Shi Li
- Applicant: ZHEJIANG UNIVERSITY
- Applicant Address: CN Hangzhou
- Assignee: ZHEJIANG UNIVERSITY
- Current Assignee: ZHEJIANG UNIVERSITY
- Current Assignee Address: CN Hangzhou
- Agency: Joywin IP Law PLLC
- Agent Jiwen Chen
- Priority: CN 1911376430.2 2019.12.27
- International Application: PCT/CN2020/122601 2020.10.21
- International Announcement: WO2021/129087A 2021.07.01
- Date entered country: 2022-01-12
- Main IPC: G06T15/00
- IPC: G06T15/00 ; G06T1/20 ; G06T15/80 ; G06V10/75

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.
Public/Granted literature
- US20220254089A1 SHADER AUTO-SIMPLIFYING METHOD AND SYSTEM BASED ON RENDERING INSTRUCTION FLOW Public/Granted day:2022-08-11
Information query
IPC分类:
G | 物理 |
G06 | 计算;推算或计数 |
G06T | 一般的图像数据处理或产生 |
G06T15/00 | 3D〔三维〕图像的加工 |