r600g/llvm: Fix build
authorTom Stellard <thomas.stellard@amd.com>
Mon, 11 Mar 2013 15:10:51 +0000 (11:10 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 11 Mar 2013 15:10:51 +0000 (11:10 -0400)
src/gallium/drivers/r600/r600_shader.c

index 621db79..29facf7 100644 (file)
@@ -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;