Searched refs:COMPILE_TIME_ASSERT (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dcompiler.h90 #define COMPILE_TIME_ASSERT(E) ((void)sizeof(char[1 - 2*!(E)])) macro
H A Dgen8_render.c253 COMPILE_TIME_ASSERT(BLENDFACTOR_INV_DST_ALPHA*GEN8_BLENDFACTOR_COUNT + BLENDFACTOR_INV_DST_ALPHA <= 0x7ff);
1273 COMPILE_TIME_ASSERT(sizeof(*sampler_state) == 4*sizeof(uint32_t));
1765 COMPILE_TIME_ASSERT(((GEN8_BLENDFACTOR_COUNT * GEN8_BLENDFACTOR_COUNT << 4) & (1 << 15)) == 0);
1778 COMPILE_TIME_ASSERT(sizeof(blend->common) == 4);
1779 COMPILE_TIME_ASSERT(sizeof(blend->rt) == 8);
1780 COMPILE_TIME_ASSERT((char *)&blend->rt - (char *)blend == 4);
3935 COMPILE_TIME_ASSERT(SAMPLER_OFFSET(FILTER_COUNT, EXTEND_COUNT, FILTER_COUNT, EXTEND_COUNT) <= 0x7ff);
H A Dgen8_eu.c1152 COMPILE_TIME_ASSERT(sizeof(*insn) == sizeof(*p->current));
H A Dgen7_render.c1294 COMPILE_TIME_ASSERT(sizeof(struct gen7_surface_state) == 32);
H A Dsna_display.c3751 COMPILE_TIME_ASSERT(sizeof(struct drm_mode_get_connector) <= sizeof(compat_conn.pad));
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dcompiler.h95 #define COMPILE_TIME_ASSERT(E) ((void)sizeof(char[1 - 2*!(E)])) macro
H A Dgen9_render.c370 COMPILE_TIME_ASSERT(BLENDFACTOR_INV_DST_ALPHA*GEN9_BLENDFACTOR_COUNT + BLENDFACTOR_INV_DST_ALPHA <= 0x7ff);
1419 COMPILE_TIME_ASSERT(sizeof(*sampler_state) == 4*sizeof(uint32_t));
1908 COMPILE_TIME_ASSERT(((GEN9_BLENDFACTOR_COUNT * GEN9_BLENDFACTOR_COUNT << 4) & (1 << 15)) == 0);
1921 COMPILE_TIME_ASSERT(sizeof(blend->common) == 4);
1922 COMPILE_TIME_ASSERT(sizeof(blend->rt) == 8);
1923 COMPILE_TIME_ASSERT((char *)&blend->rt - (char *)blend == 4);
4167 COMPILE_TIME_ASSERT(GEN9_WM_KERNEL_COUNT <=
4170 COMPILE_TIME_ASSERT(SAMPLER_OFFSET(FILTER_COUNT, EXTEND_COUNT, FILTER_COUNT, EXTEND_COUNT) <= 0x7ff);
H A Dgen8_render.c319 COMPILE_TIME_ASSERT(BLENDFACTOR_INV_DST_ALPHA*GEN8_BLENDFACTOR_COUNT + BLENDFACTOR_INV_DST_ALPHA <= 0x7ff);
1340 COMPILE_TIME_ASSERT(sizeof(*sampler_state) == 4*sizeof(uint32_t));
1832 COMPILE_TIME_ASSERT(((GEN8_BLENDFACTOR_COUNT * GEN8_BLENDFACTOR_COUNT << 4) & (1 << 15)) == 0);
1845 COMPILE_TIME_ASSERT(sizeof(blend->common) == 4);
1846 COMPILE_TIME_ASSERT(sizeof(blend->rt) == 8);
1847 COMPILE_TIME_ASSERT((char *)&blend->rt - (char *)blend == 4);
4069 COMPILE_TIME_ASSERT(SAMPLER_OFFSET(FILTER_COUNT, EXTEND_COUNT, FILTER_COUNT, EXTEND_COUNT) <= 0x7ff);
H A Dgen8_eu.c1152 COMPILE_TIME_ASSERT(sizeof(*insn) == sizeof(*p->current));
H A Dsna_tiling.c583 COMPILE_TIME_ASSERT(sizeof(tile->rects_embedded[0]) >= sizeof(struct sna_tile_span));
H A Dgen7_render.c1331 COMPILE_TIME_ASSERT(sizeof(struct gen7_surface_state) == 32);
H A Dsna_display.c5106 COMPILE_TIME_ASSERT(sizeof(struct drm_mode_get_connector) <= sizeof(compat_conn.pad));
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-private.h1081 #define COMPILE_TIME_ASSERT(x) \ macro
H A Dpixman.c159 COMPILE_TIME_ASSERT (FAST_PATH_IS_OPAQUE == (1 << OPAQUE_SHIFT));
H A Dpixman-fast-path.c2346 COMPILE_TIME_ASSERT (BILINEAR_INTERPOLATION_BITS < 8);

Completed in 54 milliseconds