Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
789 stars 65 forks source link

SRP Batcher compatibility diagnostic #178

Closed IgorMaliukh closed 1 year ago

IgorMaliukh commented 1 year ago

Description

Implemented a new diagnostic to report if a shader is not compatible with the SRP batcher.

Changes made

Added Shader SRP Batcher analyzer.

Notes

Note that this should only be reported if the project is actually using a Scriptable Render Pipeline.

Checklist

Before review: