google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphicsFuzz

License Build Status

GraphicsFuzz is a set of tools for testing shader compilers

GraphicsFuzz provides tools for automatically finding and simplifying bugs in graphics drivers, specifically graphics shader compilers. The glsl-fuzz and glsl-reduce tools manipulate GLSL shaders, targeting SPIR-V compilers via translation. The spirv-fuzz and spirv-reduce tools directly manipulate SPIR-V shaders.

Download and run

Follow the gfauto README. The gfauto command line tool is the recommended way of automatically downloading and running our fuzzers to test Vulkan drivers in a "push-button" fashion with minimal interaction. See below if you want to read about individual tools and/or use them as standalone command line tools.

Tool documentation

  • gfauto: the recommended way of automatically downloading and running our fuzzers to test Vulkan drivers in a "push-button" fashion with minimal interaction
  • glsl-fuzz: a family of tools for testing GLSL shader compilers using randomized metamorphic testing
  • glsl-reduce: a stand-alone GLSL shader reducer
  • spirv-fuzz: a stand-alone SPIR-V shader fuzzer and shrinker that uses randomized metamorphic testing
  • spirv-reduce: a stand-alone SPIR-V shader reducer

glsl-fuzz

glsl-reduce

spirv-fuzz

spirv-reduce

Contribute

Further reading

GraphicsFuzz blog posts:

Academic research project blog posts:

Academic publications:

This is not an officially supported Google product.

About

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.

License:Apache License 2.0


Languages

Language:Java 67.4%Language:Python 14.4%Language:GLSL 11.6%Language:C++ 2.3%Language:JavaScript 1.5%Language:Shell 1.3%Language:ANTLR 0.4%Language:Batchfile 0.4%Language:HTML 0.2%Language:Thrift 0.2%Language:CSS 0.1%Language:Dockerfile 0.1%Language:CMake 0.1%Language:C 0.0%