Module: Mesa Branch: master Commit: a7d018accfd0161510a75ba685e056256de494c2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d018accfd0161510a75ba685e056256de494c2
Author: Emil Velikov <[email protected]> Date: Wed Apr 8 19:27:02 2015 +0100 radeonsi: remove bogus r600-- triple As mentioned by Michel Dänzer for LLVM >= 3.6 we create the LLVMTargetMachine (with triple amdgcn--), as we setup the radeonsi context. For older LLVM or hardware (r600) the triple is always r600-- and is created at a later stage - radeon_llvm_compile() Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> --- src/gallium/drivers/radeonsi/si_pipe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index ae96b6b..5dc657c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -85,8 +85,6 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, void * LLVMTargetRef r600_target; #if HAVE_LLVM >= 0x0306 const char *triple = "amdgcn--"; -#else - const char *triple = "r600--"; #endif int shader, i; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
