--- src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h index 9118a68..b235e90 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h @@ -248,6 +248,10 @@ struct lp_build_tgsi_aos_context struct tgsi_full_instruction *instructions; uint max_instructions; + /* Allow the user to store data in this structure rather than passing it + * to every function. */ + void * userdata; + LLVMValueRef (*emit_fetch_switch_file_fn)(struct lp_build_tgsi_aos_context *, const struct tgsi_full_src_register *); }; -- 1.7.6.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev