From: Tom Stellard Date: Mon, 11 Mar 2013 15:10:51 +0000 (-0400) Subject: r600g/llvm: Fix build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0676968b958ee5bb6270b34485a1c84764028cf;p=mesa.git r600g/llvm: Fix build --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 621db79095d..29facf70abb 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1247,7 +1247,7 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen, unsigned inst_byte_count = 0; #ifdef R600_USE_LLVM - use_llvm = !(ctx->screen->debug_flags & DBG_NO_LLVM); + use_llvm = !(rscreen->debug_flags & DBG_NO_LLVM); #endif ctx.bc = &shader->bc; ctx.shader = shader;