diff options
author | Matt Turner <[email protected]> | 2014-09-21 18:14:01 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-09-25 13:52:55 -0700 |
commit | 976464c210816ff0c90e2e24e766dda81193fc79 (patch) | |
tree | 2d5bc60e59715fc38693c9b41eec6de930319e81 /src/mesa/drivers/dri/i965/intel_tex_subimage.c | |
parent | 4a96df73e770bcca6396d3c8ffe3fd1693c73e50 (diff) |
mesa: Replace a priori knowledge of gcc attributes with configure tests.
Note that I had to add support for testing the packed attribute to
m4/ax_gcc_func_attribute.m4.
Reviewed-by: Jason Ekstrand <[email protected]> [C bits]
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_subimage.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_subimage.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c b/src/mesa/drivers/dri/i965/intel_tex_subimage.c index a121816dcec..cb5738a9387 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/i965/intel_tex_subimage.c @@ -334,12 +334,6 @@ ytile_copy( } } -#ifdef __GNUC__ -#define FLATTEN __attribute__((flatten)) -#else -#define FLATTEN -#endif - /** * Copy texture data from linear to X tile layout, faster. * |