| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_zscan.h | 45 unsigned num_channels; member in struct:vl_zscan 81 unsigned num_channels);
|
| H A D | vl_zscan.c | 134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 148 for (i = 0; i < zscan->num_channels; ++i) 173 for (i = 0; i < zscan->num_channels; ++i) { 176 * ((signed)i - (signed)zscan->num_channels / 2))); 211 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); 212 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 214 for (i = 0; i < zscan->num_channels; ++i) 221 for (i = 0; i < zscan->num_channels; ++i) 232 for (i = 0; i < zscan->num_channels; ++i) 235 for (i = 0; i < zscan->num_channels; 450 vl_zscan_init(struct vl_zscan * zscan,struct pipe_context * pipe,unsigned buffer_width,unsigned buffer_height,unsigned blocks_per_line,unsigned blocks_total,unsigned num_channels) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_zscan.h | 45 unsigned num_channels; member in struct:vl_zscan 81 unsigned num_channels);
|
| H A D | vl_zscan.c | 134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 148 for (i = 0; i < zscan->num_channels; ++i) 173 for (i = 0; i < zscan->num_channels; ++i) { 176 * ((signed)i - (signed)zscan->num_channels / 2))); 211 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); 212 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 214 for (i = 0; i < zscan->num_channels; ++i) 221 for (i = 0; i < zscan->num_channels; ++i) 232 for (i = 0; i < zscan->num_channels; ++i) 235 for (i = 0; i < zscan->num_channels; 450 vl_zscan_init(struct vl_zscan * zscan,struct pipe_context * pipe,unsigned buffer_width,unsigned buffer_height,unsigned blocks_per_line,unsigned blocks_total,unsigned num_channels) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_logic.h | 89 unsigned num_channels);
|
| H A D | lp_bld_swizzle.h | 77 unsigned num_channels);
|
| H A D | lp_bld_swizzle.c | 158 unsigned num_channels) 165 if(a == bld->undef || a == bld->zero || a == bld->one || num_channels == 1) 168 assert(num_channels == 2 || num_channels == 4); 181 for(j = 0; j < n; j += num_channels) 182 for(i = 0; i < num_channels; ++i) 187 else if (num_channels == 2) { 202 type, 1 << channel, num_channels), ""); 155 lp_build_swizzle_scalar_aos(struct lp_build_context * bld,LLVMValueRef a,unsigned channel,unsigned num_channels) argument
|
| H A D | lp_bld_logic.c | 432 unsigned num_channels) 466 for(j = 0; j < n; j += num_channels) 467 for(i = 0; i < num_channels; ++i) 475 LLVMValueRef mask_vec = lp_build_const_mask_aos(bld->gallivm, type, mask, num_channels); 428 lp_build_select_aos(struct lp_build_context * bld,unsigned mask,LLVMValueRef a,LLVMValueRef b,unsigned num_channels) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_logic.h | 92 unsigned num_channels);
|
| H A D | lp_bld_swizzle.h | 77 unsigned num_channels);
|
| H A D | lp_bld_swizzle.c | 159 unsigned num_channels) 166 if(a == bld->undef || a == bld->zero || a == bld->one || num_channels == 1) 169 assert(num_channels == 2 || num_channels == 4); 182 for(j = 0; j < n; j += num_channels) 183 for(i = 0; i < num_channels; ++i) 188 else if (num_channels == 2) { 203 type, 1 << channel, num_channels), ""); 156 lp_build_swizzle_scalar_aos(struct lp_build_context * bld,LLVMValueRef a,unsigned channel,unsigned num_channels) argument
|
| H A D | lp_bld_logic.c | 438 unsigned num_channels) 472 for(j = 0; j < n; j += num_channels) 473 for(i = 0; i < num_channels; ++i) 481 LLVMValueRef mask_vec = lp_build_const_mask_aos(bld->gallivm, type, mask, num_channels); 434 lp_build_select_aos(struct lp_build_context * bld,unsigned mask,LLVMValueRef a,LLVMValueRef b,unsigned num_channels) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_aos.c | 233 unsigned num_channels) 242 swizzled_rgb = lp_build_swizzle_scalar_aos(&bld->base, rgb, alpha_swizzle, num_channels); 252 num_channels); 266 unsigned num_channels) 271 if (alpha_swizzle == PIPE_SWIZZLE_X && num_channels == 1) { 281 alpha_swizzle, num_channels); 228 lp_build_blend_swizzle(struct lp_build_blend_aos_context * bld,LLVMValueRef rgb,LLVMValueRef alpha,enum lp_build_blend_swizzle rgb_swizzle,unsigned alpha_swizzle,unsigned num_channels) argument 262 lp_build_blend_factor(struct lp_build_blend_aos_context * bld,unsigned rgb_factor,unsigned alpha_factor,unsigned alpha_swizzle,unsigned num_channels) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_aos.c | 233 unsigned num_channels) 242 swizzled_rgb = lp_build_swizzle_scalar_aos(&bld->base, rgb, alpha_swizzle, num_channels); 252 num_channels); 266 unsigned num_channels) 271 if (alpha_swizzle == PIPE_SWIZZLE_X && num_channels == 1) { 281 alpha_swizzle, num_channels); 228 lp_build_blend_swizzle(struct lp_build_blend_aos_context * bld,LLVMValueRef rgb,LLVMValueRef alpha,enum lp_build_blend_swizzle rgb_swizzle,unsigned alpha_swizzle,unsigned num_channels) argument 262 lp_build_blend_factor(struct lp_build_blend_aos_context * bld,unsigned rgb_factor,unsigned alpha_factor,unsigned alpha_swizzle,unsigned num_channels) argument
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | ac_shader_util.h | 53 uint8_t num_channels; member in struct:ac_data_format_info
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_llvm_build.h | 182 unsigned num_channels); 267 unsigned num_channels, 282 unsigned num_channels, 289 int num_channels, 303 unsigned num_channels, 313 unsigned num_channels, 340 unsigned num_channels, 353 unsigned num_channels, 386 unsigned num_channels, 400 unsigned num_channels, [all...] |
| H A D | ac_llvm_build.c | 611 * with undef. Extract at most num_channels components from the input. 615 unsigned num_channels) 617 return ac_build_expand(ctx, value, num_channels, 4); 1115 unsigned num_channels, 1129 unsigned func = CLAMP(num_channels, 1, 3) - 1; 1153 unsigned num_channels, 1170 unsigned func = num_channels == 3 ? 4 : num_channels; 1195 unsigned num_channels, 1201 voffset, NULL, num_channels, 613 ac_build_expand_to_vec4(struct ac_llvm_context * ctx,LLVMValueRef value,unsigned num_channels) argument 1110 ac_build_buffer_store_common(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef data,LLVMValueRef vindex,LLVMValueRef voffset,unsigned num_channels,bool glc,bool slc,bool writeonly_memory,bool use_format) argument 1147 ac_build_llvm8_buffer_store_common(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef data,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,unsigned num_channels,LLVMTypeRef return_channel_type,bool glc,bool slc,bool writeonly_memory,bool use_format,bool structurized) argument 1190 ac_build_buffer_store_format(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef data,LLVMValueRef vindex,LLVMValueRef voffset,unsigned num_channels,bool glc,bool writeonly_memory) argument 1216 ac_build_buffer_store_dword(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vdata,unsigned num_channels,LLVMValueRef voffset,LLVMValueRef soffset,unsigned inst_offset,bool glc,bool slc,bool writeonly_memory,bool swizzle_enable_hint) argument 1299 ac_build_buffer_load_common(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,unsigned num_channels,bool glc,bool slc,bool can_speculate,bool use_format) argument 1336 ac_build_llvm8_buffer_load_common(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,unsigned num_channels,LLVMTypeRef channel_type,bool glc,bool slc,bool can_speculate,bool use_format,bool structurized) argument 1377 ac_build_buffer_load(struct ac_llvm_context * ctx,LLVMValueRef rsrc,int num_channels,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,unsigned inst_offset,unsigned glc,unsigned slc,bool can_speculate,bool allow_smem) argument 1442 ac_build_buffer_load_format(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,unsigned num_channels,bool glc,bool can_speculate) argument 1461 ac_build_buffer_load_format_gfx9_safe(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,unsigned num_channels,bool glc,bool can_speculate) argument 1493 ac_build_llvm8_tbuffer_load(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool can_speculate,bool structurized) argument 1530 ac_build_tbuffer_load(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool can_speculate,bool structurized) argument 1577 ac_build_struct_tbuffer_load(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool can_speculate) argument 1596 ac_build_raw_tbuffer_load(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool can_speculate) argument 1677 ac_build_llvm8_tbuffer_store(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vdata,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool writeonly_memory,bool structurized) argument 1716 ac_build_tbuffer_store(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vdata,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool writeonly_memory,bool structurized) argument 1766 ac_build_struct_tbuffer_store(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vdata,LLVMValueRef vindex,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool writeonly_memory) argument 1786 ac_build_raw_tbuffer_store(struct ac_llvm_context * ctx,LLVMValueRef rsrc,LLVMValueRef vdata,LLVMValueRef voffset,LLVMValueRef soffset,LLVMValueRef immoffset,unsigned num_channels,unsigned dfmt,unsigned nfmt,bool glc,bool slc,bool writeonly_memory) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_eu.h | 677 brw_mdc_cmask(unsigned num_channels) argument 680 return 0xf & (0xf << num_channels); 684 lsc_cmask(unsigned num_channels) argument 686 assert(num_channels > 0 && num_channels <= 4); 687 return BITSET_MASK(num_channels); 693 unsigned num_channels, 723 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | 819 unsigned num_channels, 834 SET_BITS(brw_mdc_cmask(num_channels), 691 brw_dp_untyped_surface_rw_desc(const struct intel_device_info * devinfo,unsigned exec_size,unsigned num_channels,bool write) argument 817 brw_dp_a64_untyped_surface_rw_desc(const struct intel_device_info * devinfo,unsigned exec_size,unsigned num_channels,bool write) argument 985 brw_dp_typed_surface_rw_desc(const struct intel_device_info * devinfo,unsigned exec_size,unsigned exec_group,unsigned num_channels,bool write) argument 1252 lsc_msg_desc(UNUSED const struct intel_device_info * devinfo,enum lsc_opcode opcode,unsigned simd_size,enum lsc_addr_surface_type addr_type,enum lsc_addr_size addr_sz,unsigned num_coordinates,enum lsc_data_size data_sz,unsigned num_channels,bool transpose,unsigned cache_ctrl,bool has_dest) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_info.py | 50 elif fmat.has_channel('a') and fmat.num_channels() == 1: 59 elif fmat.has_channel('i') and fmat.num_channels() == 1:
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | format_info.py | 48 elif fmat.has_channel('a') and fmat.num_channels() == 1: 57 elif fmat.has_channel('i') and fmat.num_channels() == 1:
|
| H A D | formats.c | 242 int num_channels; local in function:get_base_format_for_array_format 254 num_channels = _mesa_array_format_get_num_channels(format); 256 switch (num_channels) { 401 int num_channels; local in function:_mesa_array_format_flip_channels 404 num_channels = _mesa_array_format_get_num_channels(format); 407 if (num_channels == 1 || num_channels == 3) 410 if (num_channels == 2) { 422 if (num_channels == 4) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_surface.c | 90 config.info.num_channels = util_format_get_nr_components(tex->format);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_surface.c | 90 config.info.num_channels = util_format_get_nr_components(tex->format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_eu.h | 609 brw_mdc_cmask(unsigned num_channels) argument 612 return 0xf & (0xf << num_channels); 618 unsigned num_channels, 648 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | 693 unsigned num_channels, 708 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | 829 unsigned num_channels, 861 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | 869 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | 1103 unsigned num_channels); 616 brw_dp_untyped_surface_rw_desc(const struct gen_device_info * devinfo,unsigned exec_size,unsigned num_channels,bool write) argument 691 brw_dp_a64_untyped_surface_rw_desc(const struct gen_device_info * devinfo,unsigned exec_size,unsigned num_channels,bool write) argument 826 brw_dp_typed_surface_rw_desc(const struct gen_device_info * devinfo,unsigned exec_size,unsigned exec_group,unsigned num_channels,bool write) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| H A D | ac_llvm_build.h | 209 unsigned num_channels); 257 unsigned num_channels, LLVMValueRef voffset, LLVMValueRef soffset, 263 LLVMValueRef ac_build_buffer_load(struct ac_llvm_context *ctx, LLVMValueRef rsrc, int num_channels, 270 unsigned num_channels, unsigned cache_policy, 284 unsigned num_channels, unsigned dfmt, unsigned nfmt, 289 LLVMValueRef immoffset, unsigned num_channels, unsigned dfmt, 294 unsigned num_channels, unsigned format, bool reverse, 310 unsigned num_channels, unsigned dfmt, unsigned nfmt, 315 unsigned num_channels, unsigned dfmt, unsigned nfmt,
|