aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-21 20:07:14 -0400
committerTom Stellard <[email protected]>2012-09-21 20:07:14 -0400
commitbbb2ebe2fc073793c5129b164b61fe1b36dfc4b1 (patch)
treea092d653aa20f67ae48eea86d75f8acd4883ab4f /src
parentbfe489c76b6fd58bc4d8cc7f7a3859ff3dc1782e (diff)
r600g: Fix build with LLVM compiler
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 11cf235c929..6e475933175 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1269,7 +1269,7 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen,
dump = 1;
}
if (r600_llvm_compile(mod, &inst_bytes, &inst_byte_count,
- rctx->family, dump)) {
+ rscreen->family, dump)) {
FREE(inst_bytes);
radeon_llvm_dispose(&radeon_llvm_ctx);
use_llvm = 0;