etnaviv: draw: only mark resources as read/written when the state changed
Another step on my quest to reduce the driver CPU overhead and get our draw performance to reasonable numbers.
With our current heavyweight resource tracking this improves glmark2 ideas performance on a GC3000 system with a mesa release build from ~140 Fps to ~205 Fps.
With !14466 (merged) in place the resource tracking is a lot more lightweight, so the difference in performance isn't as pronounced, but still adds modest gains. As I'm not sure when we are able to land the resource tracking rework, I guess it would be good to land this as a mostly independent first step.