Module: Mesa
Branch: master
Commit: c59659ca08cd567f826b14e26e1277e9746bb097
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c59659ca08cd567f826b14e26e1277e9746bb097

Author: Kenneth Graunke <[email protected]>
Date:   Wed Sep 11 11:20:36 2013 -0700

glsl: Use sampler_coordinate_components instead of passing it by hand.

We used to pass the number of components actually used for the
coordinate (rather than padding, shadow comparitors, and projectors) by
hand, specifying it on every _texture() call.

The new helper function can just compute this, eliminating a lot of
potential mistakes.

Signed-off-by: Kenneth Graunke <[email protected]>

---

 src/glsl/builtin_functions.cpp |  900 ++++++++++++++++++++--------------------
 1 files changed, 450 insertions(+), 450 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=c59659ca08cd567f826b14e26e1277e9746bb097
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to