diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch b/meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch deleted file mode 100644 index d86421b767..0000000000 --- a/meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 33098ef45e6035f3348040a25641f95c95266103 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brian Paul <brianp@vmware.com> | ||
3 | Date: Wed, 6 Mar 2013 16:57:20 -0700 | ||
4 | Subject: [PATCH 5/5] llvmpipe: remove the power of two sizeof(struct | ||
5 | cmd_block) assertion | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | It fails on 32-bit systems (I only tested on 64-bit). Power of two | ||
11 | size isn't required, so just remove the assertion. | ||
12 | |||
13 | Reviewed-by: José Fonseca <jfonseca@vmware.com> | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | http://cgit.freedesktop.org/mesa/mesa/commit/?id=9915636fb8afe75ee2e8e013e4f495a4cb937afb | ||
17 | --- | ||
18 | src/gallium/drivers/llvmpipe/lp_scene.c | 7 ------- | ||
19 | 1 file changed, 7 deletions(-) | ||
20 | |||
21 | diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c | ||
22 | index e145391..c88bc95 100644 | ||
23 | --- a/src/gallium/drivers/llvmpipe/lp_scene.c | ||
24 | +++ b/src/gallium/drivers/llvmpipe/lp_scene.c | ||
25 | @@ -76,13 +76,6 @@ lp_scene_create( struct pipe_context *pipe ) | ||
26 | assert(maxCommandBytes < LP_SCENE_MAX_SIZE); | ||
27 | /* We'll also need space for at least one other data block */ | ||
28 | assert(maxCommandPlusData <= LP_SCENE_MAX_SIZE); | ||
29 | - | ||
30 | - /* Ideally, the size of a cmd_block object will be a power of two | ||
31 | - * in order to avoid wasting space when we allocation them from | ||
32 | - * data blocks (which are power of two also). | ||
33 | - */ | ||
34 | - assert(sizeof(struct cmd_block) == | ||
35 | - util_next_power_of_two(sizeof(struct cmd_block))); | ||
36 | } | ||
37 | #endif | ||
38 | |||
39 | -- | ||
40 | 1.8.2.1 | ||
41 | |||