Abstract | ||
---|---|---|
The increasing hand-held devices has resulted in widespread use of Apps. To sustain the Apps performance, most developers use Graphic Processing Units (GPUs) as hardware accelerator recently. As a result, GPUs become the basic system requirement in the smart hand-held devices. With the improvement of GPUs techniques, the rendering pipeline has become programmable by using the shading language proposed from DirectX and OpenGL. A shader compiler is essential to compile the shading language into GPU assembly in order to run on programmable rendering pipelines. In this thesis, we describe a case study for the process to implement an OpenGL-ES 2.0 shader compiler for new GPU designed by an ITRI team. The compiler is based on LLVM and OpenGL framework Mesa. We use the front-end from Mesa that translates the OpenGL-ES shading language (GLSL ES) 2.0 to TGSI intermediate form and the Gallium3D device driver framework in Mesa will translate the TGSI to LLVM bitcode. Finally, we use the LLVM as backend to compile the bitcode to assembly NV gpu program4. In our preliminary experimental results, we use the gpu simulator provided from ITRI and GLES benchmark to show that our LLVM based shader compiler is able to generate reliable codes for basic OpenGL-ES programs. |
Year | DOI | Venue |
---|---|---|
2014 | 10.1109/PADSW.2014.7097916 | ICPADS |
Keywords | Field | DocType |
opengl-es 2.0 shader compiler,gallium3d device driver framework,shader compiler,graphics processing units,rendering (computer graphics),mesa framework,rendering pipeline,embedded architecture,graphic processing unit,mobile device gpu,directx,llvm,llvm-based shader compiler,embedded systems,gpu techniques,opengl-es,shading language,program compilers | Fixed-function,Graphics pipeline,Computer science,HLSL2GLSL,Compiler,Unified shader model,Shading language,Shader,OpenGL,Operating system | Conference |
ISSN | Citations | PageRank |
1521-9097 | 0 | 0.34 |
References | Authors | |
2 | 4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Li-Wei Kuo | 1 | 0 | 0.34 |
Chun-Chieh Yang | 2 | 5 | 2.62 |
Jenq Kuen Lee | 3 | 459 | 48.71 |
Shau-Yin Tseng | 4 | 173 | 24.85 |