summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-12 10:20:03 -0600
committerBrian Paul <brianp@vmware.com>2010-05-12 10:38:00 -0600
commit3f6dc8e79d918283a6dfcf9c8937a6d52f3bb4f5 (patch)
treea28803dd6ff1b7ad0c1b6502aec3fa2efc7248c3 /src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
parent3dcb25364fc3b8570dfe240e5b1e6fa278bf0911 (diff)
downloadexternal_mesa3d-3f6dc8e79d918283a6dfcf9c8937a6d52f3bb4f5.zip
external_mesa3d-3f6dc8e79d918283a6dfcf9c8937a6d52f3bb4f5.tar.gz
external_mesa3d-3f6dc8e79d918283a6dfcf9c8937a6d52f3bb4f5.tar.bz2
gallivm/llvmpipe: add const qualifiers
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
index 5ce1385..4d415b6 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
@@ -59,7 +59,7 @@ struct lp_build_sampler_soa
(*destroy)( struct lp_build_sampler_soa *sampler );
void
- (*emit_fetch_texel)( struct lp_build_sampler_soa *sampler,
+ (*emit_fetch_texel)( const struct lp_build_sampler_soa *sampler,
LLVMBuilderRef builder,
struct lp_type type,
unsigned unit,
@@ -83,7 +83,7 @@ lp_build_tgsi_soa(LLVMBuilderRef builder,
const LLVMValueRef (*inputs)[4],
LLVMValueRef (*outputs)[4],
struct lp_build_sampler_soa *sampler,
- struct tgsi_shader_info *info);
+ const struct tgsi_shader_info *info);
#endif /* LP_BLD_TGSI_H */