Shading language translation method
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
- Publication Date
- 2020-09-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the technical field of data processing, in particular to a coloring language translation method. Background technique
[0002] Shading Language (Shading Language) is a kind of shading language specially used for programming shaders. Currently, a high-level shader language (High Level Shader Language, HLSL) developed and owned by Microsoft is more popular in the industry. However, HLSL can only work on the Windows (an operating system developed by Microsoft) platform, which leads to the problem of limited use of target platforms running other operating systems.
[0003] In the prior art, there is a way of translating HLSL codes into codes usable by a target platform through a disassembly operation. However, the code translated by the disassembly operation has the disadvantage of poor readability, which is not conducive to optimization and debugging on the target platform. Therefore, a new solution remains to be prop...