summaryrefslogtreecommitdiff
path: root/media-libs/mesa/files/0002-radeong-opencl-rename-target-from-r600-to-r600-amd-n.patch
blob: 2eebc9c8105b04bc6602433740e6a410ffffceed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 7c4d0a88c45acedfd47eba93646bf5ea7435472c Mon Sep 17 00:00:00 2001
From: Alexey Shvetsov <alexxy@gentoo.org>
Date: Sun, 3 Jun 2012 13:52:00 +0400
Subject: [PATCH 2/3] radeong/opencl rename target from r600-- to
 r600-amd-none

---
 src/gallium/drivers/r600/r600_pipe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index e0ee823..790afcc 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -582,7 +582,7 @@ static int r600_get_compute_param(struct pipe_screen *screen,
 	switch (param) {
 	case PIPE_COMPUTE_CAP_IR_TARGET:
 		if (ret) {
-			strcpy(ret, "r600--");
+			strcpy(ret, "r600-amd-none");
 		}
 		return 7 * sizeof(char);
 
-- 
1.7.10.2