From: Tom Stellard Date: Thu, 2 Aug 2012 17:21:30 +0000 (-0400) Subject: radeonsi: Properly initialize si_shader_ctx.radeon_bld X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5ac8ee2c5e7dad3985b06c620d96cf077804ff9;p=mesa.git radeonsi: Properly initialize si_shader_ctx.radeon_bld --- 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;