From a0676968b958ee5bb6270b34485a1c84764028cf Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 11 Mar 2013 11:10:51 -0400 Subject: r600g/llvm: Fix build --- src/gallium/drivers/r600/r600_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r600/r600_shader.c') 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; -- cgit v1.2.3