A Cross-platform Evaluation of Graphics Shader Compiler Optimization

Lewis Crawford, Michael O'Boyle

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

For real-time graphics applications such as games and virtual reality, performance is crucial to provide a smooth user experience. Central to this is the performance of shader programs which render images on the GPU. The rise of low-level graphics APIs such as Vulkan means compilation tools play an increasingly important role in the graphics ecosystem. However, despite the importance of graphics, there is little published work on the impact of compiler optimization. This paper explores common features of graphics shaders, and examines the impact and applicability of common optimizations such as loop unrolling, and arithmetic reassociation. Combinations of optimizations are evaluated via exhaustive search across a wide set of shaders from the GFXBench 4.0 benchmark suite. Their impact is assessed across three desktop and two mobile GPUs from different vendors. We show that compiler optimization can have significant positive and negative impacts which vary across optimisations, benchmarks and platforms.
Original languageEnglish
Title of host publicationProceedings of The International Symposium on Performance Analysis of Systems and Software 2018
Place of PublicationBelfast, UK
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Pages219-228
Number of pages10
ISBN (Electronic)978-1-5386-5010-3
ISBN (Print)978-1-5386-5011-0
DOIs
Publication statusPublished - 28 May 2018
Event2018 IEEE International Symposium on Performance Analysis of Systems and Software - Queen's University, Belfast, United Kingdom
Duration: 2 Apr 20184 Apr 2018
http://www.ispass.org/ispass2018/

Conference

Conference2018 IEEE International Symposium on Performance Analysis of Systems and Software
Abbreviated titleISPASS 2018
Country/TerritoryUnited Kingdom
CityBelfast
Period2/04/184/04/18
Internet address

Keywords

  • Graphics
  • Shaders
  • compiler optimization
  • COMPILATION
  • GPU

Fingerprint

Dive into the research topics of 'A Cross-platform Evaluation of Graphics Shader Compiler Optimization'. Together they form a unique fingerprint.

Cite this