freedreno/ir3: fix immediate usage in tgsi tex fe
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 28 Apr 2015 03:47:40 +0000 (23:47 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 21 May 2015 01:53:59 +0000 (21:53 -0400)
commit3e7bc6728520b469ed53a2588ead28287f8b88f0
tree44dd9511e1fef2761b11fca8c50fd58ee7ecd604
parent36438f0db6c7c696df73ced12684f4df9d2b47e5
freedreno/ir3: fix immediate usage in tgsi tex fe

get_immediate will return a const reference, the requested immediate
isn't necessarily in the x slot. Make sure to use the swizzle.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/freedreno/ir3/ir3_compiler.c