gallivm: fix rho calculation for 1d case
authorRoland Scheidegger <sroland@vmware.com>
Wed, 21 Aug 2013 14:54:58 +0000 (16:54 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 21 Aug 2013 20:05:52 +0000 (22:05 +0200)
commit21d8fa275966ed56be48648d1847c8ded92534bc
tree47e9316b377769cc9ac6d2d611a9e895afd67035
parente6893b99adcd6d9fb1bd49067883f66cc5603fe7
gallivm: fix rho calculation for 1d case

Was using wrong (undefined) vector element (the elements are at 0/2 position,
not 0/1).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_sample.c