diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-16 14:11:43 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-17 16:29:34 -0600 |
commit | b8b1bb946f0bc7d1646e0625c239e08ac60b4fc7 (patch) | |
tree | a2a1e5867165f78ae578e62cb92022a56ebf511e /src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c | |
parent | eee51147979208feffdf37c588ebbce4df6b40d6 (diff) |
llvmpipe: use new LP_JIT_CTX_ enums for jit context field positions
Use the new enum values rather than integers in a few places.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c b/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c index 662508af61..4715cfe4f6 100644 --- a/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c +++ b/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c @@ -105,7 +105,7 @@ lp_llvm_texture_member(struct lp_sampler_dynamic_state *base, /* context[0] */ indices[0] = LLVMConstInt(LLVMInt32Type(), 0, 0); /* context[0].textures */ - indices[1] = LLVMConstInt(LLVMInt32Type(), LP_JIT_CONTEXT_TEXTURES_INDEX, 0); + indices[1] = LLVMConstInt(LLVMInt32Type(), LP_JIT_CTX_TEXTURES, 0); /* context[0].textures[unit] */ indices[2] = LLVMConstInt(LLVMInt32Type(), unit, 0); /* context[0].textures[unit].member */ |