google / graphicsfuzz

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

Reducer: remove unused interface blocks #1163

Closed afd closed 2 years ago

afd commented 2 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.