diff options
author | José Fonseca <[email protected]> | 2010-01-07 15:59:41 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-01-07 16:10:04 +0000 |
commit | 12c6b871a3ae4a091d6f768231304f3578a9a9f1 (patch) | |
tree | 3a5c1e162c51e30b49507eb30d1764dbf26d5ea8 /src/gallium/drivers/llvmpipe/lp_jit.c | |
parent | 27fe7a7303d93bc38df1f3c2861d07af3e82546d (diff) |
llvmpipe: Remove more loose ends of TGSI exec sampling.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_jit.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c index bce3baec164..bc9e6ac1bd7 100644 --- a/src/gallium/drivers/llvmpipe/lp_jit.c +++ b/src/gallium/drivers/llvmpipe/lp_jit.c @@ -109,24 +109,6 @@ lp_jit_init_globals(struct llvmpipe_screen *screen) screen->context_ptr_type = LLVMPointerType(context_type, 0); } - /* fetch_texel - */ - { - LLVMTypeRef ret_type; - LLVMTypeRef arg_types[3]; - LLVMValueRef fetch_texel; - - ret_type = LLVMVoidType(); - arg_types[0] = LLVMPointerType(LLVMInt8Type(), 0); /* samplers */ - arg_types[1] = LLVMInt32Type(); /* unit */ - arg_types[2] = LLVMPointerType(LLVMVectorType(LLVMFloatType(), 4), 0); /* store */ - - fetch_texel = lp_declare_intrinsic(screen->module, "fetch_texel", - ret_type, arg_types, Elements(arg_types)); - - LLVMAddGlobalMapping(screen->engine, fetch_texel, lp_fetch_texel_soa); - } - #ifdef DEBUG LLVMDumpModule(screen->module); #endif |