The design of LLVM-based shader compiler for embedded architecture

6Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

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 simualtor 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.

Cite

CITATION STYLE

APA

Kuo, L. W., Yang, C. C., Lee, J. K., & Tseng, S. Y. (2014). The design of LLVM-based shader compiler for embedded architecture. In Proceedings of the International Conference on Parallel and Distributed Systems - ICPADS (Vol. 2015-April, pp. 961–968). IEEE Computer Society. https://doi.org/10.1109/PADSW.2014.7097916

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free