OSDN Git Service

gallium: fix texcoords for cubemap mipmap generation
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 16:11:51 +0000 (10:11 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 16:11:51 +0000 (10:11 -0600)
commit79ada8c6331a801a0475f38a540670b14e168f19
tree30c52b458775d54f3dd358667212a941bf89fe9a
parentdd4c142e90a0cba5b445990bb522ce9199d7f565
gallium: fix texcoords for cubemap mipmap generation

We need to use (s,t,r) cubemap coords when sampling from the cubemap texture
so the rendered quad gets texture samples from the correct cube face.
src/gallium/auxiliary/util/u_gen_mipmap.c