Mesa (master): r600g: Fix build with LLVM compiler
Tom Stellard
tstellar at kemper.freedesktop.org
Sat Sep 22 00:06:43 UTC 2012
Module: Mesa
Branch: master
Commit: bbb2ebe2fc073793c5129b164b61fe1b36dfc4b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbb2ebe2fc073793c5129b164b61fe1b36dfc4b1
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Sep 21 20:07:14 2012 -0400
r600g: Fix build with LLVM compiler
---
src/gallium/drivers/r600/r600_shader.c | 2 +-
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 11cf235..6e47593 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;
More information about the mesa-commit
mailing list