Design and implementation of a high-performance shader for graphics rendering

Lidong Xing , Wenhao Lin , Yonggang Ma , Zhenfu Feng

The Journal of China Universities of Posts and Telecommunications ›› 2026, Vol. 33 ›› Issue (3) : 92 -107.

PDF (7722KB)
The Journal of China Universities of Posts and Telecommunications ›› 2026, Vol. 33 ›› Issue (3) :92 -107. DOI: 10.19682/j.cnki.1005-8885.2026.0009
Intelligent Image Processing
research-article
Design and implementation of a high-performance shader for graphics rendering
Author information +
History +
PDF (7722KB)

Abstract

As the core module of graphics processing unit (GPU), the shader's arithmetic performance directly affects the overall performance of the GPU. A high-performance GPU shader architecture based on the single instruction multiple data (SIMD) mechanism was proposed in this paper. A custom instruction set is developed, and the shader is implemented in Verilog hardware description language (HDL). Within the core unit design, two key optimizations are introduced. First, based on hardware resource sharing, a fusion operation circuit is proposed to implement the arithmetic unit. Second, leveraging the shader's architectural characteristics, a matrix transformation accelerator is designed through operation decomposition and parallel allocation strategies. A test program written in the custom instruction set confirms the correct functionality of the shader in simulation. The design is further verified on a Genesys2 field-programmable gate array (FPGA) platform, where it operates at up to 111.88 MHz. Using the Semiconductor Manufacturing International Corporation (SMIC) 65 nm complementary metal oxide semiconductor (CMOS) process and corresponding electronic design automation (EDA) tools, the shader is synthesized and verified at the backend. Post-layout results show a maximum clock frequency of 105.48 MHz, a total area of about 5 832 454 μm2, and a total power consumption of approximately 110.92 mW. Post-simulation confirms functional correctness. Experimental results demonstrate that the fused operator circuit reduces the area overhead of the arithmetic unit by about 50.39%, and the matrix accelerator achieves a maximum speedup of about 77.6%, both contributing to significantly improved rendering efficiency.

Keywords

shader / graphics processing unit (GPU) / single instruction multiple data (SIMD) / matrix transformation

Cite this article

Download citation ▾
Lidong Xing, Wenhao Lin, Yonggang Ma, Zhenfu Feng. Design and implementation of a high-performance shader for graphics rendering. The Journal of China Universities of Posts and Telecommunications, 2026, 33 (3) : 92-107 DOI:10.19682/j.cnki.1005-8885.2026.0009

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

XIONG T G . Development history future trend and development practice of GPU. Micro and Nano Electronics and Intelligent Manufacturing, 2022, 2(2): 36-40 (in Chinese).

[2]

PRIYA N, POTHUMANI S, KAVITHA R . Synthesis of rasterization: a new method. International Journal of Engineering and Advanced Technology, 2019, 8(6S2): 10665-10673.

[3]

ZHOU J L, LI T, HAN J G . Design of vertex coloring emulator in graphics processor. Digital Technology and Applications, 2012(12): 109-110 (in Chinese).

[4]

THAQI X, GIMÉNEZ J, ALJIMI E . The meaning of isometries as function of a set of points and the process of understanding of geometric transformation. Proceedings of the 9th Congress of the European Society for Research in Mathematics Education (CERME'15), 2015, Feb 4-8, Prague, Czech. 2015: 591-597.

[5]

CARLBOM I, PACIOREK J P . Planar geometric projections and viewing transformations. ACM Computing Surveys, 1978, 10(4): 465-502.

[6]

XU Q C, DU H M, LIU Q N . Design of vertex coloring processor based on ultra-long instruction word. Microelectronics and Computers, 2018, 35(10): 13-18 (in Chinese).

[7]

WANG S H . Design and implementation of global illumination algorithm in real-time rendering. Master Thesis. Beijing: Beijing University of Posts and Telecommunications, 2019 (in Chinese).

[8]

SONG N P, HAN J G, LI T . Design and verification of half-precision floating-point processor. Information Technology, 20181): 136-140 (in Chinese).

[9]

TANG J L, YUAN P, WU Z X, et al. Research and design of low-power high-performance RISC-V processor. Microcontroller and Embedded System Applications, 2021, 21(9): 6- 9, 13 (in Chinese).

[10]

JIA Z. Design and performance improvement of floating-point divider. Master Thesis. Dalian: Dalian University of Technology, 2021 (in Chinese).

[11]

TENG Y. Research on controller based on RISC-V instruction set processor. Master Thesis. Harbin: Heilongjiang University, 2018 (in Chinese).

PDF (7722KB)

4

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉