summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-02 13:21:30 -0400
committerTom Stellard <[email protected]>2012-08-02 13:21:30 -0400
commita5ac8ee2c5e7dad3985b06c620d96cf077804ff9 (patch)
tree3b151d8dff255d0b7ebc0545446973f6a782bf00 /src
parentc2bae6b91de8bd023dbac7fef4c2a3b8eba28afa (diff)
radeonsi: Properly initialize si_shader_ctx.radeon_bld
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c1
1 files changed, 1 insertions, 0 deletions
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;