Add a hash of all vertex attributes to the GrProgramDesc key
Recent work to dynamically switch the CPU type of the color attribute
exposed this problem - we were ignoring the attribute types, and getting
cache hits on incorrect GrProgram objects with stale layout information.
This fixes GMs in configs that may use F16 colors (eg glenarrow).
Reviewed-by: Brian Salomon <email@example.com>
Commit-Queue: Brian Osman <firstname.lastname@example.org>
3 files changed