Mesa (master): gallivm: fix copy&paste error from previous commit

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 16 21:31:05 UTC 2010


Module: Mesa
Branch: master
Commit: 3ecf47af1252ad10f98d5ce488cc1b91fab64c25
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ecf47af1252ad10f98d5ce488cc1b91fab64c25

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 16 14:29:15 2010 -0700

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 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 905cf66..8a4261f 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,




More information about the mesa-commit mailing list