google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.
Apache License 2.0
570 stars 117 forks source link

Reducer: remove unused interface blocks #1163

Closed afd closed 3 years ago

afd commented 3 years ago

Adds functionality to the reducer to eliminate interface blocks that are not used. This involved adding support for tracking interface blocks in the ScopeTrackingVisitor, and some minor changes to the internals of InterfaceBlock were made in the process.

Fixes #1162.