1 /* 2 * Copyright 2011 Joakim Sindholt <[email protected]> 3 * SPDX-License-Identifier: MIT 4 */ 5 6 #ifndef _NINE_QUIRK_H_ 7 #define _NINE_QUIRK_H_ 8 9 #include "util/compiler.h" 10 11 bool 12 _nine_get_quirk( unsigned quirk ); 13 14 #define QUIRK(q) (_nine_get_quirk(QUIRK_##q)) 15 16 #define QUIRK_FAKE_CAPS 0x00000001 17 #define QUIRK_LENIENT_SHADER 0x00000002 18 19 #endif /* _NINE_QUIRK_H_ */ 20