On 02/16/2012 04:40 PM, Eric Anholt wrote:
None of the consumers of this state will be called while the fs or vs
is in place, and the update_texture_state() call will get re-called on
fs/vs change, so it should be safe to skip the computation.  Improves
the performance of a VS state change microbenchmark by 1.60186% +/-
0.443318% (n=20).

v2: Add comments explaining the flow of state to these two functions.
---

It looks like the comments might be longer than 80 columns, but it's not a big deal.

Reviewed-by: Brian Paul <bri...@vmware.com>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to