diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-23 05:52:20 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:41 +0100 |
commit | 08dd41fd6899bd6b3289d30dc31f8b2998406889 (patch) | |
tree | 06e983e67d5c99eadd59a418b568082175bc8bbb /src/gallium/drivers/llvmpipe/lp_state_fs.c | |
parent | 97b4681d7e1ccf40d1584436ade7c70fc1893e27 (diff) |
llvmpipe: Centralize the C <-> JIT interfaces in one place.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |