Home
last modified time | relevance | path

Searched refs:debug_assert (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_memory.c160 debug_assert(0); in debug_free()
169 debug_assert(0); in debug_free()
212 debug_assert(0); in debug_realloc()
221 debug_assert(0); in debug_realloc()
287 debug_assert(0); in debug_memory_end()
305 debug_assert(0); in debug_memory_end()
Du_debug.h168 #define debug_assert(expr) ((expr) ? (void)0 : _debug_assert_fail(#expr, __FILE__, __LINE__, __FUNC… macro
170 #define debug_assert(expr) do { } while (0 && (expr)) macro
178 #define assert(expr) debug_assert(expr)
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_so_emit_tmp.h15 debug_assert(input_prims->primitive_count == 1); \
21 debug_assert(!"unexpected primitive type in stream output"); \
Ddraw_gs_tmp.h15 debug_assert(input_prims->primitive_count == 1); \
20 debug_assert(!"unexpected primitive type in GS"); \
Ddraw_context.c366 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer()
368 debug_assert(slot < PIPE_MAX_CONSTANT_BUFFERS); in draw_set_mapped_constant_buffer()
592 debug_assert(shader == PIPE_SHADER_GEOMETRY); in draw_texture_samplers()
763 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_sampler_views()
764 debug_assert(num <= PIPE_MAX_SAMPLERS); in draw_set_sampler_views()
782 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_samplers()
783 debug_assert(num <= PIPE_MAX_SAMPLERS); in draw_set_samplers()
Ddraw_vs_llvm.c60 debug_assert(0); in vs_llvm_run_linear()
Ddraw_gs.c200 debug_assert(!util_is_inf_or_nan(output[slot][0])); in draw_geometry_fetch_outputs()
275 debug_assert(input_primitives > 0 && in gs_flush()
Ddraw_llvm_sample.c101 debug_assert(unit < PIPE_MAX_SAMPLERS); in draw_llvm_texture_member()
Ddraw_llvm.c552 debug_assert(TGSI_NUM_CHANNELS == 4); in convert_to_soa()
553 debug_assert((soa_type.length % TGSI_NUM_CHANNELS) == 0); in convert_to_soa()
622 debug_assert(TGSI_NUM_CHANNELS == 4); in store_aos_array()
/external/mesa3d/src/gallium/state_trackers/vega/
Dstroker.c117 debug_assert(!"invalid command!\n"); in stroke_fw_itr_coords()
144 debug_assert(!"invalid command!\n"); in stroke_bw_itr_coords()
177 debug_assert(stroke_fw_has_next(itr)); in stroke_fw_next()
188 debug_assert(stroke_bw_has_next(itr)); in stroke_bw_next()
254 debug_assert(stroke_fw_has_next(itr)); in stroke_flat_next()
327 debug_assert(!"invalid command!\n"); in stroke_flat_itr_coords()
745 debug_assert(!"create_joins bad join style"); in create_joins()
782 debug_assert(!"Invalid stroke segment"); in stroker_add_segment()
1029 debug_assert(stroker->segments->num_elements > 0); in stroker_process_subpath()
1041 debug_assert(fwit.cmds[0] == VG_MOVE_TO_ABS); in stroker_process_subpath()
[all …]
Dapi_filters.c169 debug_assert(!"Unknown color channel"); in setup_lookup_single()
210 debug_assert(!"Unknown tiling mode"); in execute_filter()
Dimage.c274 debug_assert(newtex); in image_create()
314 debug_assert(idx < img->parent->children_array->num_elements); in image_destroy()
Dshaders_cache.c440 debug_assert(type == PIPE_SHADER_VERTEX || in shader_create_from_text()
Dbezier.c301 debug_assert(count > 2); in is_bezier_line()
576 debug_assert(o - curves <= max_curves); in bezier_translate_by_normal()
Dpaint.c517 debug_assert("!Unknown tiling mode"); in paint_set_pattern_tiling()
Dpath.c126 debug_assert(!"Unknown path datatype!"); in data_at()
163 debug_assert(!"Unknown path datatype!"); in vg_float_to_datatype()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c193 debug_assert( 0 ); in dst_register()
247 debug_assert( 0 ); in src_register()
282 debug_assert( 0 ); in st_translate_texture_target()
499 debug_assert(0); in emit_swz()
663 debug_assert( 0 ); in translate_opcode()
704 debug_assert(num_dst == 0); in compile_instruction()
1105 debug_assert(0); in st_translate_mesa_program()
1143 debug_assert( program->NumAddressRegs == 1 ); in st_translate_mesa_program()
Dst_program.c404 debug_assert(0); in st_translate_vertex_program()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tgsi.c282 debug_assert((is_fill ^ is_composite) ^ is_yuv); in create_vs()
467 debug_assert((is_fill ^ is_composite) ^ is_yuv); in create_fs()
491 debug_assert(is_yuv); in create_fs()
545 debug_assert(!"Unknown fill type!"); in create_fs()
651 debug_assert(vs && fs); in xa_shaders_get()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_xv.c392 debug_assert(!"Unsupported yuv format!"); in copy_packed_data()
653 debug_assert(priv && priv->r); in port_priv_create()
671 debug_assert(ms->exa); in xorg_setup_textured_adapter()
672 debug_assert(ms->exa->renderer); in xorg_setup_textured_adapter()
745 debug_assert(textured_adapter); in xorg_xv_init()
Dxorg_exa_tgsi.c285 debug_assert((is_fill ^ is_composite) ^ is_yuv); in create_vs()
492 debug_assert((is_fill ^ is_composite) ^ is_yuv); in create_fs()
522 debug_assert(is_yuv); in create_fs()
583 debug_assert(!"Unknown fill type!"); in create_fs()
682 debug_assert(vs && fs); in xorg_shaders_get()
Dxorg_composite.c312 debug_assert(pSrcPicture->format == PICT_a8r8g8b8); in bind_shaders()
317 debug_assert("!gradients not supported"); in bind_shaders()
371 debug_assert(!"solid color with textures"); in bind_samplers()
Dxorg_renderer.c543 debug_assert(!"Unsupported number of textures"); in renderer_texture()
Dxorg_exa.c480 debug_assert(exaGetPixmapDriverPrivate(pDstPixmap) == exa->copy.dst); in ExaCopy()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_debug.c213 debug_assert(!underflow); in pb_debug_buffer_check()
214 debug_assert(!overflow); in pb_debug_buffer_check()

12