gallivm: fix copy&paste error from previous commit
authorBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 21:29:15 +0000 (14:29 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 21:30:39 +0000 (14:30 -0700)
Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452

NOTE: This is a candidate for the 7.10 branch

src/gallium/auxiliary/gallivm/lp_bld_format_aos.c

index 905cf66137ccc9d62b59416dc69b23a8f64198b6..8a4261fb05b38c16cd0d32360b0737e3fb459e7e 100644 (file)
@@ -562,7 +562,7 @@ lp_build_fetch_rgba_aos(struct gallivm_state *gallivm,
 
       /* make const pointer for the C fetch_rgba_float function */
       callee = lp_build_const_int_pointer(gallivm,
-         func_to_pointer((func_pointer) format_desc->fetch_rgba_float));
+         func_to_pointer((func_pointer) format_desc->fetch_rgba_8unorm));
 
       /* cast the callee pointer to the function's type */
       function = LLVMBuildBitCast(builder, callee,