gallivm: fix copy&paste error from previous commit

Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452

NOTE: This is a candidate for the 7.10 branch
This commit is contained in:
Brian Paul 2010-12-16 14:29:15 -07:00
parent fcc7024afe
commit 3ecf47af12

View 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,