diff options
author | Kenneth Graunke <[email protected]> | 2013-11-23 13:31:32 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-11-25 19:13:23 -0800 |
commit | ad542a10c5f2284c05036f1df8ce5b69bea66e50 (patch) | |
tree | 448b282c4fa1f8007d2c0b72c88ee5313f4d3c70 /src/gallium/drivers/radeon | |
parent | 0510ec67e2c5b5ddb4755564314ccfe057555984 (diff) |
i965: Use __attribute__((flatten)) on fast tiled teximage code.
The fast tiled texture upload code does not compile with GCC 4.8's -Og
optimization flag.
memcpy() has the always_inline attribute set. This poses a problem,
since {x,y}tile_copy_faster calls it indirectly via {x,y}tile_copy,
and {x,y}tile_copy normally aren't inlined at -Og.
Using __attribute__((flatten)) tells GCC to inline every function call
inside the function, which I believe was the author's intent.
Fix suggested by Alexander Monakov.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions