--- 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 cabf907..be017c9 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h @@ -304,6 +304,10 @@ struct lp_build_tgsi_soa_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_soa_context *, const struct tgsi_full_src_register *, const unsigned); -- 1.7.6.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev