[PATCH] gallivm: lp_bld_tgsi_aos.c intialize tgsi_info

Tom Stellard thomas.stellard at amd.com
Fri Jan 27 09:32:23 PST 2012


---
 src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index 26cfffe..e9a433d 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
@@ -1003,6 +1003,7 @@ lp_build_tgsi_aos(struct gallivm_state *gallivm,
    bld.sampler = sampler;
    bld.indirect_files = info->indirect_files;
    bld.bld_base.emit_swizzle = swizzle_aos;
+   bld.bld_base.info = info;
 
    bld.bld_base.emit_fetch_funcs[TGSI_FILE_CONSTANT] = emit_fetch_constant;
    bld.bld_base.emit_fetch_funcs[TGSI_FILE_IMMEDIATE] = emit_fetch_immediate;
-- 
1.7.6


--WIyZ46R2i8wDzkSu--


More information about the mesa-dev mailing list