Lines Matching defs:assert
31 #include <assert.h>
292 assert(a != 0 && a == (a & -a));
299 assert(a != 0 && a == (a & -a));
306 assert(a != 0 && a == (a & -a));
319 assert(a != 0 && a == (a & -a));
327 assert(a == (a & -a));
343 assert(min < max);
462 /* A non-fatal assert. Useful for debugging. */
576 assert(bo->flags & EXEC_OBJECT_PINNED);
580 assert(!(bo->flags & EXEC_OBJECT_PINNED));
581 assert(!bo->has_fixed_address);
588 assert((bo->flags & EXEC_OBJECT_PINNED) || !bo->has_fixed_address);
603 assert(addr_u64 == intel_canonical_address(addr_u64));
1286 assert(!pdevice->use_relocations);
1290 assert(pdevice->use_relocations);
1568 assert(error != VK_SUCCESS);
1626 assert(anv_bo_is_pinned(address.bo));
1629 assert(batch->start <= location && location < batch->end);
1631 assert(INT32_MIN <= address.offset && address.offset <= INT32_MAX);
1911 assert(layout && layout->ref_cnt >= 1);
1919 assert(layout && layout->ref_cnt >= 1);
2601 assert(vb_address.bo && anv_bo_is_pinned(vb_address.bo));
2604 assert(bound->end > bound->start); /* No overflow */
2615 assert(bound->end - bound->start <= (1ull << 32));
3063 assert((local_arg_offset) % 8 == 0); \
3066 assert(prog_data->simd_size == 8 || prog_data->simd_size == 16); \
3220 assert(pipeline->type == pipe_enum); \
3291 assert(pipeline->cs);
3353 assert(aspects & (VK_IMAGE_ASPECT_COLOR_BIT |
3360 assert(aspects == VK_IMAGE_ASPECT_PLANE_0_BIT ||
3367 assert(aspects == (VK_IMAGE_ASPECT_DEPTH_BIT |
3383 assert(util_bitcount(aspect) == 1);
3384 assert(!(aspect & ~all_aspects));
3438 assert(swizzle.a == ISL_CHANNEL_SELECT_ONE ||
3665 assert(image);
3668 assert(miplevel < image->vk.mip_levels);
3685 assert(binding->memory_range.offset == 0);
3698 assert(image->vk.aspects & (VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV |
3728 assert(level < anv_image_aux_levels(image, aspect));
3729 assert(array_layer < anv_image_aux_layers(image, aspect, level));
3731 assert(image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E);
3747 assert(offset < image->planes[plane].fast_clear_memory_range.size);
3789 assert(image->vk.aspects == VK_IMAGE_ASPECT_COLOR_BIT);
3793 assert(isl_aux_usage_has_mcs(image->planes[plane].aux_usage));