/third_party/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 485 for (i = 1; i < input_desc->nr_channels; ++i) { in translate_attr_convert() 492 for (i = 1; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 500 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 512 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 514 && i >= input_desc->nr_channels) in translate_attr_convert() 518 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 532 input_desc->nr_channels >> 3); in translate_attr_convert() 584 input_desc->nr_channels >> 3); in translate_attr_convert() 634 && input_desc->nr_channels <= 3) { in translate_attr_convert() 641 input_desc->nr_channels); in translate_attr_convert() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_aos.c | 322 int nr_channels) in lp_build_blend_aos() argument 375 nr_channels == 1; in lp_build_blend_aos() 376 boolean alpha_only = nr_channels == 1 && alpha_swizzle == PIPE_SWIZZLE_X; in lp_build_blend_aos() 381 nr_channels); in lp_build_blend_aos() 386 nr_channels); in lp_build_blend_aos() 399 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos() 419 nr_channels); in lp_build_blend_aos() 428 state->colormask, nr_channels, swizzle); in lp_build_blend_aos()
|
D | lp_bld_blend.h | 72 int nr_channels);
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 58 if (desc->nr_channels == 4 && desc->channel[0].size == 10 && desc->channel[1].size == 10 && in radv_translate_buffer_dataformat() 63 for (i = 0; i < desc->nr_channels; i++) { in radv_translate_buffer_dataformat() 70 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 80 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 97 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 109 if (type != UTIL_FORMAT_TYPE_FLOAT && desc->nr_channels == 1) in radv_translate_buffer_dataformat() 332 for (i = 1; i < desc->nr_channels; i++) { in radv_translate_tex_dataformat() 338 switch (desc->nr_channels) { in radv_translate_tex_dataformat() 372 switch (desc->nr_channels) { in radv_translate_tex_dataformat() 382 switch (desc->nr_channels) { in radv_translate_tex_dataformat() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture.c | 314 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_texformat() 321 for (i = 1; i < desc->nr_channels; i++) { in r300_translate_texformat() 327 switch (desc->nr_channels) { in r300_translate_texformat() 384 switch (desc->nr_channels) { in r300_translate_texformat() 393 switch (desc->nr_channels) { in r300_translate_texformat() 404 switch (desc->nr_channels) { in r300_translate_texformat() 418 switch (desc->nr_channels) { in r300_translate_texformat() 429 switch (desc->nr_channels) { in r300_translate_texformat() 618 switch (desc->nr_channels) { in r300_translate_out_fmt() 632 switch (desc->nr_channels) { in r300_translate_out_fmt() [all …]
|
D | r300_state_inlines.h | 367 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 374 result = R300_DATA_TYPE_FLOAT_1 + (desc->nr_channels - 1); in r300_translate_vertex_data_type() 389 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 432 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_vertex_data_swizzle()
|
D | r300_screen.c | 505 desc->nr_channels == 4 && in r300_is_blending_supported() 515 if (desc->nr_channels >= 3) in r300_is_blending_supported() 522 if (desc->nr_channels == 1) in r300_is_blending_supported()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_afbc.c | 167 if (desc->nr_channels != 3 && desc->nr_channels != 4) in panfrost_afbc_can_ytr()
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 190 for(i = 0; i < output_format_desc->nr_channels; ++i) in main() 221 for(i = 0; i < input_format_desc->nr_channels; ++i) in main() 234 …&& input_format_size * output_format_desc->nr_channels > output_format_size * input_format_desc->n… in main()
|
/third_party/mesa3d/src/util/format/ |
D | u_format_parse.py | 157 chans = self.nr_channels() 203 def nr_channels(self): member in Format 204 nr_channels = 0 207 nr_channels += 1 208 return nr_channels
|
D | u_format.c | 138 desc->nr_channels == 4 && in util_format_has_alpha1() 529 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible() 603 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in util_format_fits_8unorm()
|
D | u_format_table.py | 209 print(" %u,\t/* nr_channels */" % (format.nr_channels(),))
|
D | u_format.h | 168 unsigned nr_channels:3; member 811 desc->nr_channels == 4 && in util_format_is_rgbx_or_bgrx() 1444 return desc->nr_channels; in util_format_get_nr_components()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_lower_framebuffer.c | 430 return d.size == 32 ? pan_unpack_pure_32(b, packed, desc->nr_channels) : in pan_unpack() 431 pan_unpack_pure_16(b, packed, desc->nr_channels); in pan_unpack() 434 return pan_unpack_pure_8(b, packed, desc->nr_channels); in pan_unpack() 481 pan_replicate(b, unpacked, desc->nr_channels) : in pan_pack() 482 pan_pack_pure_16(b, unpacked, desc->nr_channels); in pan_pack() 485 return pan_pack_pure_8(b, unpacked, desc->nr_channels); in pan_pack()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_copyimage.c | 67 if (desc->nr_channels == 4 && in get_canonical_format() 104 switch (desc->nr_channels) { in get_canonical_format() 200 for (i = 0; i < desc->nr_channels; i++) in has_identity_swizzle() 345 d1->nr_channels != d2->nr_channels || in same_size_and_swizzle() 349 for (i = 0; i < d1->nr_channels; i++) { in same_size_and_swizzle()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_blend.c | 286 if (desc->nr_channels < 4) { in nir_blend() 291 desc->nr_channels > 1 ? nir_channel(b, dst, 1) : zero, in nir_blend() 292 desc->nr_channels > 2 ? nir_channel(b, dst, 2) : zero, in nir_blend() 293 desc->nr_channels > 3 ? nir_channel(b, dst, 3) : one); in nir_blend()
|
/third_party/mesa3d/src/mesa/main/ |
D | format_parser.py | 328 nr_channels = 0 331 nr_channels += 1 332 return nr_channels
|
/third_party/mesa3d/src/mesa/state_tracker/tests/ |
D | st_format.c | 92 if (desc->nr_channels > 1) { in main()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_formats.h | 119 if (desc->channel[i].size == 8 && desc->nr_channels == 3) in r600_is_vertex_format_supported()
|
D | r600_state_common.c | 1428 if (j < desc->nr_channels) in r600_setup_buffer_constants() 1432 if (desc->nr_channels < 4) { in r600_setup_buffer_constants() 2926 for (i = 0; i < desc->nr_channels; i++) { in r600_translate_texformat() 2935 for (i = 1; i < desc->nr_channels; i++) { in r600_translate_texformat() 2944 switch(desc->nr_channels) { in r600_translate_texformat() 2999 switch (desc->nr_channels) { in r600_translate_texformat() 3009 switch (desc->nr_channels) { in r600_translate_texformat() 3024 switch (desc->nr_channels) { in r600_translate_texformat() 3037 switch (desc->nr_channels) { in r600_translate_texformat() 3054 switch (desc->nr_channels) { in r600_translate_texformat() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_soa.c | 323 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in lp_build_unpack_rgba_soa() 652 for (i = 0; i < format_desc->nr_channels; i++) { in lp_build_fetch_rgba_soa() 672 for (i = 0; i < format_desc->nr_channels; i++) { in lp_build_fetch_rgba_soa() 998 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in lp_build_pack_rgba_soa() 1064 for (unsigned i = 0; i < format_desc->nr_channels; i++) { in lp_build_store_rgba_soa()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_formats.c | 151 if (desc->nr_channels == 1 && vk_format_is_int(vk_format)) in image_format_features() 208 desc->nr_channels == 1 && in buffer_format_features()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_clear.c | 174 if (desc->nr_channels == 3) in vi_alpha_is_on_msb() 177 if (sscreen->info.chip_class >= GFX10 && desc->nr_channels == 1) in vi_alpha_is_on_msb() 216 if (desc->nr_channels == 3) in vi_get_fast_clear_parameters() 219 alpha_channel = desc->nr_channels - 1; in vi_get_fast_clear_parameters()
|
D | si_state.c | 1579 switch (desc->nr_channels) { in si_translate_colorformat() 1755 if (desc->nr_channels != 4 && desc->nr_channels != 1) in si_translate_texformat() 1872 for (i = 1; i < desc->nr_channels; i++) { in si_translate_texformat() 1878 switch (desc->nr_channels) { in si_translate_texformat() 1909 switch (desc->nr_channels) { in si_translate_texformat() 1919 switch (desc->nr_channels) { in si_translate_texformat() 1929 switch (desc->nr_channels) { in si_translate_texformat() 1939 switch (desc->nr_channels) { in si_translate_texformat() 2106 if (desc->nr_channels == 4 && desc->channel[0].size == 10 && desc->channel[1].size == 10 && in si_translate_buffer_dataformat() 2111 for (i = 0; i < desc->nr_channels; i++) { in si_translate_buffer_dataformat() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_format.c | 216 if (desc->nr_channels != 4) in zink_format_is_voidable_rgba_variant()
|