From 08dd41fd6899bd6b3289d30dc31f8b2998406889 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 23 Aug 2009 05:52:20 +0100 Subject: llvmpipe: Centralize the C <-> JIT interfaces in one place. --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c') diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index cf0a90bc18..f77b488e6d 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -453,7 +453,7 @@ generate_fragment(struct llvmpipe_context *lp, /* * Generate the function prototype. Any change here must be reflected in - * lp_state.h's lp_shader_fs_func function pointer type, and vice-versa. + * lp_jit.h's lp_jit_frag_func function pointer type, and vice-versa. */ fs_elem_type = lp_build_elem_type(fs_type); @@ -604,7 +604,7 @@ generate_fragment(struct llvmpipe_context *lp, } } - variant->jit_function = (lp_shader_fs_func)LLVMGetPointerToGlobal(screen->engine, variant->function); + variant->jit_function = (lp_jit_frag_func)LLVMGetPointerToGlobal(screen->engine, variant->function); #ifdef DEBUG lp_disassemble(variant->jit_function); -- cgit v1.2.3