llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure the first...
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 18 Apr 2010 08:34:01 +0000 (10:34 +0200)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 18 Apr 2010 08:36:28 +0000 (10:36 +0200)
commit4b148bcf5e6cf08fac31cd10b42ac5f5a5f43cd6
treeb5b3162a2b95df266148304712e97c4255e886eb
parent4272c01fbfd42833e4e0937bed84e45fe5da52b9
llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure the first one is always position.

With this we correctly handle vertex shaders whose output position is not
in index zero.
src/gallium/drivers/llvmpipe/lp_state_derived.c