作者
Alastair F Donaldson, Hugues Evrard, Andrei Lascu, Paul Thomson
发表日期
2017/10/12
期刊
Proceedings of the ACM on Programming Languages
卷号
1
期号
OOPSLA
页码范围
1-29
出版商
ACM
简介
We present an automated technique for finding defects in compilers for graphics shading languages. key challenge in compiler testing is the lack of an oracle that classifies an output as correct or incorrect; this is particularly pertinent in graphics shader compilers where the output is a rendered image that is typically under-specified. Our method builds on recent successful techniques for compiler validation based on metamorphic testing, and leverages existing high-value graphics shaders to create sets of transformed shaders that should be semantically equivalent. Rendering mismatches are then indicative of shader compilation bugs. Deviant shaders are automatically minimized to identify, in each case, a minimal change to an original high-value shader that induces a shader compiler bug. We have implemented the approach as a tool, GLFuzz, targeting the OpenGL shading language, GLSL. Our experiments over …
引用总数
20182019202020212022202320248152018174110
学术搜索中的文章
AF Donaldson, H Evrard, A Lascu, P Thomson - Proceedings of the ACM on Programming Languages, 2017