Searched refs:format_desc (Results 1 - 25 of 72) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/util/tests/format/
H A Du_format_test.c57 print_packed(const struct util_format_description *format_desc, argument
66 for (i = 0; i < format_desc->block.bits/8; ++i) {
76 print_unpacked_rgba_doubl(const struct util_format_description *format_desc, argument
85 for (i = 0; i < format_desc->block.height; ++i) {
86 for (j = 0; j < format_desc->block.width; ++j) {
98 print_unpacked_rgba_float(const struct util_format_description *format_desc, argument
107 for (i = 0; i < format_desc->block.height; ++i) {
108 for (j = 0; j < format_desc->block.width; ++j) {
120 print_unpacked_rgba_8unorm(const struct util_format_description *format_desc, argument
129 for (i = 0; i < format_desc
141 print_unpacked_z_float(const struct util_format_description * format_desc,const char * prefix,float unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
163 print_unpacked_z_32unorm(const struct util_format_description * format_desc,const char * prefix,uint32_t unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
184 print_unpacked_s_8uint(const struct util_format_description * format_desc,const char * prefix,uint8_t unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
205 test_format_fetch_rgba(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
241 test_format_unpack_rgba(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
278 test_format_pack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
359 test_format_unpack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
401 test_format_pack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
465 test_format_unpack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
497 test_format_pack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
536 test_format_unpack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
575 test_format_pack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
615 test_format_unpack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
654 test_format_pack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
695 test_format_norm_flags(const struct util_format_description * format_desc) argument
740 test_one_func(const struct util_format_description * format_desc,test_func_t func,const char * suffix) argument
765 test_format_metadata(const struct util_format_description * format_desc,boolean (* func)(const struct util_format_description * format_desc),const char * suffix) argument
788 const struct util_format_description *format_desc; local in function:test_all
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/
H A Du_format_test.c56 print_packed(const struct util_format_description *format_desc, argument
65 for (i = 0; i < format_desc->block.bits/8; ++i) {
75 print_unpacked_rgba_doubl(const struct util_format_description *format_desc, argument
84 for (i = 0; i < format_desc->block.height; ++i) {
85 for (j = 0; j < format_desc->block.width; ++j) {
97 print_unpacked_rgba_float(const struct util_format_description *format_desc, argument
106 for (i = 0; i < format_desc->block.height; ++i) {
107 for (j = 0; j < format_desc->block.width; ++j) {
119 print_unpacked_rgba_8unorm(const struct util_format_description *format_desc, argument
128 for (i = 0; i < format_desc
140 print_unpacked_z_float(const struct util_format_description * format_desc,const char * prefix,float unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
162 print_unpacked_z_32unorm(const struct util_format_description * format_desc,const char * prefix,uint32_t unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
183 print_unpacked_s_8uint(const struct util_format_description * format_desc,const char * prefix,uint8_t unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH],const char * suffix) argument
204 test_format_fetch_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
238 test_format_unpack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
275 test_format_pack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
354 test_format_unpack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
393 test_format_pack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
455 test_format_unpack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
485 test_format_pack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
522 test_format_unpack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
559 test_format_pack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
597 test_format_unpack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
634 test_format_pack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
673 test_format_norm_flags(const struct util_format_description * format_desc) argument
718 test_one_func(const struct util_format_description * format_desc,test_func_t func,const char * suffix) argument
743 test_format_metadata(const struct util_format_description * format_desc,boolean (* func)(const struct util_format_description * format_desc),const char * suffix) argument
766 const struct util_format_description *format_desc; local in function:test_all
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_soa.c82 lp_build_format_swizzle_soa(const struct util_format_description *format_desc, argument
87 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
91 if (util_format_has_stencil(format_desc) &&
92 !util_format_has_depth(format_desc)) {
94 swizzle = format_desc->swizzle[1];
98 swizzle = format_desc->swizzle[0];
112 enum pipe_swizzle swizzle = format_desc->swizzle[chan];
297 * \param format_desc the format of the 'packed' incoming pixel vector
304 const struct util_format_description *format_desc,
313 assert(format_desc
303 lp_build_unpack_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,LLVMValueRef packed,LLVMValueRef rgba_out[4]) argument
415 lp_build_fetch_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache,LLVMValueRef rgba_out[4]) argument
982 lp_build_pack_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,const LLVMValueRef rgba_in[4],LLVMValueRef * packed) argument
1009 lp_build_store_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,LLVMValueRef exec_mask,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef out_of_bounds,const LLVMValueRef rgba_in[4]) argument
[all...]
H A Dlp_bld_format_aos_array.c47 * \param format_desc describes format of the image we're fetching from
54 const struct util_format_description *format_desc,
64 boolean pure_integer = format_desc->channel[0].pure_integer;
67 lp_type_from_format_desc(&src_type, format_desc);
112 res = lp_build_format_swizzle_aos(format_desc, &bld, res);
53 lp_build_fetch_rgba_aos_array(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offset) argument
H A Dlp_bld_format.h102 const struct util_format_description *format_desc,
113 const struct util_format_description *format_desc,
124 lp_build_format_swizzle_soa(const struct util_format_description *format_desc,
131 const struct util_format_description *format_desc,
144 const struct util_format_description *format_desc,
156 const struct util_format_description *format_desc,
170 const struct util_format_description *format_desc,
184 const struct util_format_description *format_desc,
198 const struct util_format_description *format_desc,
H A Dlp_bld_format_aos.c462 * \param format_desc describes format of the image we're fetching from
472 const struct util_format_description *format_desc,
482 util_format_unpack_description(format_desc->format);
499 if (format_matches_type(format_desc, type) &&
500 format_desc->block.bits <= type.width * 4 &&
502 util_is_power_of_two_or_zero(format_desc->block.bits)) {
515 format_desc->block.bits, fetch_type,
518 assert(format_desc->block.bits <= vec_len);
522 return lp_build_format_swizzle_aos(format_desc, &bld, packed);
533 if (format_desc
471 lp_build_fetch_rgba_aos(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache) argument
[all...]
H A Dlp_bld_type.h181 lp_type_from_format_desc(struct lp_type* type, const struct util_format_description *format_desc) argument
183 assert(format_desc->is_array);
184 assert(!format_desc->is_mixed);
187 type->floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
188 type->fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
189 type->sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
190 type->norm = format_desc->channel[0].normalized;
191 type->width = format_desc->channel[0].size;
192 type->length = format_desc->nr_channels;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_soa.c80 lp_build_format_swizzle_soa(const struct util_format_description *format_desc, argument
85 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
89 if (util_format_has_stencil(format_desc) &&
90 !util_format_has_depth(format_desc)) {
92 swizzle = format_desc->swizzle[1];
96 swizzle = format_desc->swizzle[0];
110 enum pipe_swizzle swizzle = format_desc->swizzle[chan];
295 * \param format_desc the format of the 'packed' incoming pixel vector
302 const struct util_format_description *format_desc,
311 assert(format_desc
301 lp_build_unpack_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,LLVMValueRef packed,LLVMValueRef rgba_out[4]) argument
413 lp_build_fetch_rgba_soa(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache,LLVMValueRef rgba_out[4]) argument
[all...]
H A Dlp_bld_format_aos_array.c47 * \param format_desc describes format of the image we're fetching from
54 const struct util_format_description *format_desc,
64 boolean pure_integer = format_desc->channel[0].pure_integer;
67 lp_type_from_format_desc(&src_type, format_desc);
112 res = lp_build_format_swizzle_aos(format_desc, &bld, res);
53 lp_build_fetch_rgba_aos_array(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offset) argument
H A Dlp_bld_format.h102 const struct util_format_description *format_desc,
113 const struct util_format_description *format_desc,
124 lp_build_format_swizzle_soa(const struct util_format_description *format_desc,
131 const struct util_format_description *format_desc,
144 const struct util_format_description *format_desc,
160 const struct util_format_description *format_desc,
174 const struct util_format_description *format_desc,
H A Dlp_bld_format_aos.c462 * \param format_desc describes format of the image we're fetching from
472 const struct util_format_description *format_desc,
497 if (format_matches_type(format_desc, type) &&
498 format_desc->block.bits <= type.width * 4 &&
500 util_is_power_of_two_or_zero(format_desc->block.bits)) {
513 format_desc->block.bits, fetch_type,
516 assert(format_desc->block.bits <= vec_len);
520 return lp_build_format_swizzle_aos(format_desc, &bld, packed);
531 if (format_desc->layout == UTIL_FORMAT_LAYOUT_PLAIN &&
532 format_desc
471 lp_build_fetch_rgba_aos(struct gallivm_state * gallivm,const struct util_format_description * format_desc,struct lp_type type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache) argument
[all...]
H A Dlp_bld_type.h181 lp_type_from_format_desc(struct lp_type* type, const struct util_format_description *format_desc) argument
183 assert(format_desc->is_array);
184 assert(!format_desc->is_mixed);
187 type->floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
188 type->fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
189 type->sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
190 type->norm = format_desc->channel[0].normalized;
191 type->width = format_desc->channel[0].size;
192 type->length = format_desc->nr_channels;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.h53 lp_depth_type(const struct util_format_description *format_desc,
62 const struct util_format_description *format_desc,
76 const struct util_format_description *format_desc,
87 const struct util_format_description *format_desc,
H A Dlp_bld_depth.c298 lp_depth_type(const struct util_format_description *format_desc, argument
304 assert(format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS);
305 assert(format_desc->block.width == 1);
306 assert(format_desc->block.height == 1);
309 type.width = format_desc->block.bits;
311 z_swizzle = format_desc->swizzle[0];
313 if (format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_FLOAT) {
316 assert(format_desc->channel[z_swizzle].size == 32);
318 else if(format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_UNSIGNED) {
319 assert(format_desc
347 get_z_shift_and_mask(const struct util_format_description * format_desc,unsigned * shift,unsigned * width,unsigned * mask) argument
385 get_s_shift_and_mask(const struct util_format_description * format_desc,unsigned * shift,unsigned * mask) argument
528 lp_build_depth_stencil_load_swizzled(struct gallivm_state * gallivm,struct lp_type z_src_type,const struct util_format_description * format_desc,boolean is_1d,LLVMValueRef depth_ptr,LLVMValueRef depth_stride,LLVMValueRef * z_fb,LLVMValueRef * s_fb,LLVMValueRef loop_counter) argument
661 lp_build_depth_stencil_write_swizzled(struct gallivm_state * gallivm,struct lp_type z_src_type,const struct util_format_description * format_desc,boolean is_1d,struct lp_build_mask_context * mask,LLVMValueRef z_fb,LLVMValueRef s_fb,LLVMValueRef loop_counter,LLVMValueRef depth_ptr,LLVMValueRef depth_stride,LLVMValueRef z_value,LLVMValueRef s_value) argument
815 lp_build_depth_stencil_test(struct gallivm_state * gallivm,const struct pipe_depth_state * depth,const struct pipe_stencil_state stencil[2],struct lp_type z_src_type,const struct util_format_description * format_desc,struct lp_build_mask_context * mask,LLVMValueRef stencil_refs[2],LLVMValueRef z_src,LLVMValueRef z_fb,LLVMValueRef s_fb,LLVMValueRef face,LLVMValueRef * z_value,LLVMValueRef * s_value,boolean do_branch) argument
[all...]
H A Dlp_screen.c474 const struct util_format_description *format_desc; local in function:llvmpipe_is_format_supported
476 format_desc = util_format_description(format);
477 if (!format_desc)
497 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
499 if (format_desc->nr_channels < 3)
502 else if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB)
505 if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN &&
509 assert(format_desc->block.width == 1);
510 assert(format_desc->block.height == 1);
512 if (format_desc
[all...]
H A Dlp_test_format.c341 const struct util_format_description *format_desc,
346 if (!test_format_float(verbose, fp, format_desc, use_cache)) {
350 if (!test_format_unorm8(verbose, fp, format_desc, use_cache)) {
369 const struct util_format_description *format_desc; local in function:test_all
371 format_desc = util_format_description(format);
372 if (!format_desc) {
380 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) {
388 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
394 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
395 format_desc
340 test_one(unsigned verbose,FILE * fp,const struct util_format_description * format_desc,unsigned use_cache) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.h52 lp_depth_type(const struct util_format_description *format_desc,
61 const struct util_format_description *format_desc,
76 const struct util_format_description *format_desc,
87 const struct util_format_description *format_desc,
H A Dlp_bld_depth.c299 lp_depth_type(const struct util_format_description *format_desc, argument
305 assert(format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS);
306 assert(format_desc->block.width == 1);
307 assert(format_desc->block.height == 1);
310 type.width = format_desc->block.bits;
312 z_swizzle = format_desc->swizzle[0];
314 if (format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_FLOAT) {
317 assert(format_desc->channel[z_swizzle].size == 32);
319 else if(format_desc->channel[z_swizzle].type == UTIL_FORMAT_TYPE_UNSIGNED) {
320 assert(format_desc
348 get_z_shift_and_mask(const struct util_format_description * format_desc,unsigned * shift,unsigned * width,unsigned * mask) argument
386 get_s_shift_and_mask(const struct util_format_description * format_desc,unsigned * shift,unsigned * mask) argument
533 lp_build_depth_stencil_load_swizzled(struct gallivm_state * gallivm,struct lp_type z_src_type,const struct util_format_description * format_desc,boolean is_1d,LLVMValueRef depth_ptr,LLVMValueRef depth_stride,LLVMValueRef * z_fb,LLVMValueRef * s_fb,LLVMValueRef loop_counter) argument
672 lp_build_depth_stencil_write_swizzled(struct gallivm_state * gallivm,struct lp_type z_src_type,const struct util_format_description * format_desc,boolean is_1d,LLVMValueRef mask_value,LLVMValueRef z_fb,LLVMValueRef s_fb,LLVMValueRef loop_counter,LLVMValueRef depth_ptr,LLVMValueRef depth_stride,LLVMValueRef z_value,LLVMValueRef s_value) argument
825 lp_build_depth_stencil_test(struct gallivm_state * gallivm,const struct lp_depth_state * depth,const struct pipe_stencil_state stencil[2],struct lp_type z_src_type,const struct util_format_description * format_desc,struct lp_build_mask_context * mask,LLVMValueRef * cov_mask,LLVMValueRef stencil_refs[2],LLVMValueRef z_src,LLVMValueRef z_fb,LLVMValueRef s_fb,LLVMValueRef face,LLVMValueRef * z_value,LLVMValueRef * s_value,boolean do_branch) argument
[all...]
H A Dlp_screen.c656 const struct util_format_description *format_desc; local in function:llvmpipe_is_format_supported
658 format_desc = util_format_description(format);
659 if (!format_desc)
679 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
681 if (format_desc->nr_channels < 3)
684 else if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB)
687 if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN &&
691 assert(format_desc->block.width == 1);
692 assert(format_desc->block.height == 1);
694 if (format_desc
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format.c282 const struct util_format_description *format_desc; local in function:util_format_read_4f
286 format_desc = util_format_description(format);
288 assert(x % format_desc->block.width == 0);
289 assert(y % format_desc->block.height == 0);
291 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8);
294 format_desc->unpack_rgba_float(dst_row, dst_stride, src_row, src_stride, w, h);
304 const struct util_format_description *format_desc; local in function:util_format_write_4f
308 format_desc = util_format_description(format);
310 assert(x % format_desc->block.width == 0);
311 assert(y % format_desc
323 const struct util_format_description *format_desc; local in function:util_format_read_4ub
342 const struct util_format_description *format_desc; local in function:util_format_write_4ub
363 const struct util_format_description *format_desc; local in function:util_format_read_4ui
384 const struct util_format_description *format_desc; local in function:util_format_write_4ui
405 const struct util_format_description *format_desc; local in function:util_format_read_4i
426 const struct util_format_description *format_desc; local in function:util_format_write_4i
514 util_format_fits_8unorm(const struct util_format_description * format_desc) argument
[all...]
H A Du_draw.c62 const struct util_format_description *format_desc; local in function:util_draw_max_index
73 format_desc = util_format_description(element->src_format);
74 assert(format_desc->block.width == 1);
75 assert(format_desc->block.height == 1);
76 assert(format_desc->block.bits % 8 == 0);
77 format_size = format_desc->block.bits/8;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_screen.c420 const struct util_format_description *format_desc; local in function:panfrost_is_format_supported
432 format_desc = util_format_description(format);
434 if (!format_desc)
449 bool supported = util_format_is_rgba8_variant(format_desc);
455 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
463 if (format_desc->block.width != 1 ||
464 format_desc->block.height != 1)
469 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
473 if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
474 format_desc
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format.c411 const struct util_format_description *format_desc; local in function:util_format_read_4
414 format_desc = util_format_description(format);
416 assert(x % format_desc->block.width == 0);
417 assert(y % format_desc->block.height == 0);
419 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8);
431 const struct util_format_description *format_desc; local in function:util_format_write_4
436 format_desc = util_format_description(format);
438 assert(x % format_desc->block.width == 0);
439 assert(y % format_desc->block.height == 0);
441 dst_row = (uint8_t *)dst + y*dst_stride + x*(format_desc
455 const struct util_format_description *format_desc; local in function:util_format_read_4ub
472 const struct util_format_description *format_desc; local in function:util_format_write_4ub
562 util_format_fits_8unorm(const struct util_format_description * format_desc) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_screen.c416 const struct util_format_description *format_desc; local in function:softpipe_is_format_supported
431 format_desc = util_format_description(format);
432 if (!format_desc)
446 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
454 if (format_desc->block.width != 1 ||
455 format_desc->block.height != 1)
460 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
464 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
465 format_desc->layout == UTIL_FORMAT_LAYOUT_ATC) {
488 if (format_desc
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_screen.c389 const struct util_format_description *format_desc; local in function:softpipe_is_format_supported
404 format_desc = util_format_description(format);
405 if (!format_desc)
419 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
427 if (format_desc->block.width != 1 ||
428 format_desc->block.height != 1)
433 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
437 if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
438 format_desc->layout == UTIL_FORMAT_LAYOUT_ATC) {
461 if (format_desc
[all...]

Completed in 24 milliseconds

123