GraphicsFuzz is a framework developed by Google for testing and fuzzing graphics drivers using automatically generated GLSL shaders. It helps identify security vulnerabilities, driver crashes, and rendering inconsistencies in OpenGL and Vulkan drivers by feeding them randomized but valid shader programs. Originally developed through academic research, GraphicsFuzz automates the process of minimizing and analyzing problematic shaders, helping hardware vendors and driver developers improve the reliability and robustness of their graphics stack.
Features
- Generates randomized GLSL shaders to stress-test drivers
- Detects crashes, miscompilations, and rendering bugs
- Automates fuzzing of OpenGL and Vulkan driver implementations
- Shader reducer tool for isolating minimal crashing cases
- Cross-platform CLI tools and Python scripts
- Supports shader injection into APKs for Android testing
- Includes reference shader implementations for correctness
- Useful for both conformance testing and security auditing
- Developed and maintained by Google's graphics team
