From 3ecf47af1252ad10f98d5ce488cc1b91fab64c25 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 16 Dec 2010 14:29:15 -0700 Subject: 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 --- src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c index 905cf66137c..8a4261fb05b 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c @@ -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, -- cgit v1.2.3