mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 20:50:23 +01:00
i965: Delete our copy of likely/unlikely macros.
brw_context.h includes imports.h which includes compiler.h which already defines these. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
67601da24c
commit
3dda3ebec9
1 changed files with 0 additions and 10 deletions
|
|
@ -60,16 +60,6 @@ struct intel_region;
|
|||
#define INTEL_WRITE_FULL 0x2
|
||||
#define INTEL_READ 0x4
|
||||
|
||||
#ifndef likely
|
||||
#ifdef __GNUC__
|
||||
#define likely(expr) (__builtin_expect(expr, 1))
|
||||
#define unlikely(expr) (__builtin_expect(expr, 0))
|
||||
#else
|
||||
#define likely(expr) (expr)
|
||||
#define unlikely(expr) (expr)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct intel_sync_object {
|
||||
struct gl_sync_object Base;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue