mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
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 <kenneth@whitecape.org>
This commit is contained in:
parent
694be9115d
commit
c59659ca08
1 changed files with 432 additions and 432 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue