From a5ac8ee2c5e7dad3985b06c620d96cf077804ff9 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 2 Aug 2012 13:21:30 -0400 Subject: radeonsi: Properly initialize si_shader_ctx.radeon_bld --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c') diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index e3069df4830..5313e5e6532 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -600,6 +600,7 @@ int si_pipe_shader_create( dump = debug_get_bool_option("RADEON_DUMP_SHADERS", FALSE); + memset(&si_shader_ctx.radeon_bld, 0, sizeof(si_shader_ctx.radeon_bld)); radeon_llvm_context_init(&si_shader_ctx.radeon_bld); bld_base = &si_shader_ctx.radeon_bld.soa.bld_base; -- cgit v1.2.3