diff options
author | Roland Scheidegger <[email protected]> | 2013-08-15 00:18:20 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-08-15 00:40:14 +0200 |
commit | d4b43cedb65978e76f67c80d8715c7db8b2ea667 (patch) | |
tree | f23f0dd3dff9b1ded07bd6a31213cb84ea18433b /src/mapi/table.h | |
parent | c6c55ad3e967f3d151c24795a99634b297c13fde (diff) |
gallivm: change coordinate handling throughout functions
Instead of passing s,t,r coordinates pass a coord array - the reason is that
I need to pass more coords (in particular for shadow "coord", future will also
need another one for cube map arrays) so just pass them as an array.
Also, to simplify things, use fixed location for the shadow reference value I
want to get rid of the silly "where is the right coord value" game.
Keep old-style however for aos sampling (which is not going to need shadow
coord, though for cube map arrays it still would need fixing).
(Next patch will pass those through using the new arrangement directly from
sampler interface.)
v2: fix up soa split path (unreachable currently but still...)
Reviewed-by: Zack Rusin <[email protected]>
Diffstat (limited to 'src/mapi/table.h')
0 files changed, 0 insertions, 0 deletions