summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-16 14:29:15 -0700
committerBrian Paul <[email protected]>2011-02-21 17:18:41 -0700
commit1a6154e022f438a33d9bf1a025c419c9e8be74e6 (patch)
tree2099cecd5485dcfa289560c6e2b60a7545f8147e /src/gallium
parent5b844eff0a4fdc98f735d2a85ade85253ad53e21 (diff)
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 (cherry picked from commit 3ecf47af1252ad10f98d5ce488cc1b91fab64c25)
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_format_aos.c2
1 files changed, 1 insertions, 1 deletions
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,