| /xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/ |
| H A D | v3d_nir_lower_logic_ops.c | 120 v3d_nir_swizzle_and_pack(nir_builder *b, nir_ssa_def **chans, argument 125 c[i] = v3d_nir_get_swizzled_channel(b, chans, swiz[i]); 153 nir_ssa_def *chans[4]; local in function:pack_unorm_rgb10a2 155 chans[i] = nir_channel(b, unorm, i); 157 nir_ssa_def *result = nir_mov(b, chans[0]); 161 nir_ishl(b, chans[i], nir_imm_int(b, offset)); 177 nir_ssa_def *chans[4]; local in function:unpack_unorm_rgb10a2 180 chans[i] = nir_format_unorm_to_float(b, unorm, &bits[i]); 184 return nir_vec4(b, chans[0], chans[ [all...] |
| H A D | v3d_nir_lower_scratch.c | 60 nir_ssa_def *chans[NIR_MAX_VEC_COMPONENTS]; local in function:v3d_nir_lower_load_scratch 77 chans[i] = &chan_instr->dest.ssa; 80 nir_ssa_def *result = nir_vec(b, chans, instr->num_components);
|
| /xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/ |
| H A D | v3d_nir_lower_scratch.c | 60 nir_ssa_def *chans[NIR_MAX_VEC_COMPONENTS]; local in function:v3d_nir_lower_load_scratch 77 chans[i] = &chan_instr->dest.ssa; 80 nir_ssa_def *result = nir_vec(b, chans, instr->num_components);
|
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | u_format_parse.py | 157 chans = self.nr_channels() 158 self.be_channels = self.le_channels[chans - 159 1::-1] + self.le_channels[chans:4] 162 chan_map = {SWIZZLE_X: xyzw[chans - 1] if chans >= 1 else SWIZZLE_X, 163 SWIZZLE_Y: xyzw[chans - 2] if chans >= 2 else SWIZZLE_X, 164 SWIZZLE_Z: xyzw[chans - 3] if chans >= 3 else SWIZZLE_X, 165 SWIZZLE_W: xyzw[chans [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/ |
| H A D | sb_bc_dump.cpp | 34 static const char* chans = "xyzw01?_"; variable in namespace:r600_sb 139 s << chans[n.bc.sel[k]]; 149 s << ((n.bc.comp_mask & (1 << k)) ? chans[k] : '_'); 245 s << chans[alu.dst_chan]; 367 s << "." << chans[src->chan]; 491 s << chans[n.bc.dst_sel[k]]; 503 s << chans[n.bc.src_sel[k]]; 545 s << " O" << chans[k] << ":" << n.bc.offset[k];
|
| H A D | sb_valtable.cpp | 42 static const char * chans = "xyzw01?_"; variable in namespace:r600_sb 70 << chans[v.select.chan()]; 74 o << "C" << v.select.sel() << "." << chans[v.select.chan()]; 83 << chans[v.select.chan()]; 128 o << "@R" << g.sel() << "." << chans[g.chan()];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/ |
| H A D | sb_bc_dump.cpp | 34 static const char* chans = "xyzw01?_"; variable in namespace:r600_sb 139 s << chans[n.bc.sel[k]]; 149 s << ((n.bc.comp_mask & (1 << k)) ? chans[k] : '_'); 247 s << chans[alu.dst_chan]; 369 s << "." << chans[src->chan]; 493 s << chans[n.bc.dst_sel[k]]; 505 s << chans[n.bc.src_sel[k]]; 547 s << " O" << chans[k] << ":" << n.bc.offset[k];
|
| H A D | sb_valtable.cpp | 42 static const char * chans = "xyzw01?_"; variable in namespace:r600_sb 70 << chans[v.select.chan()]; 74 o << "C" << v.select.sel() << "." << chans[v.select.chan()]; 83 << chans[v.select.chan()]; 128 o << "@R" << g.sel() << "." << chans[g.chan()];
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_format_convert.h | 371 nir_ssa_def *chans[3]; local in function:nir_format_unpack_11f11f10f 372 chans[0] = nir_mask_shift(b, packed, 0x000007ff, 4); 373 chans[1] = nir_mask_shift(b, packed, 0x003ff800, -7); 374 chans[2] = nir_mask_shift(b, packed, 0xffc00000, -17); 377 chans[i] = nir_unpack_half_2x16_split_x(b, chans[i]); 379 return nir_vec(b, chans, 3);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_format_convert.h | 349 nir_ssa_def *chans[3]; local in function:nir_format_unpack_11f11f10f 350 chans[0] = nir_mask_shift(b, packed, 0x000007ff, 4); 351 chans[1] = nir_mask_shift(b, packed, 0x003ff800, -7); 352 chans[2] = nir_mask_shift(b, packed, 0xffc00000, -17); 355 chans[i] = nir_unpack_half_2x16_split_x(b, chans[i]); 357 return nir_vec(b, chans, 3);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| H A D | prog_to_nir.c | 216 nir_ssa_def *chans[4]; local in function:ptn_get_src 220 chans[i] = nir_imm_float(b, 0.0); 222 chans[i] = nir_imm_float(b, 1.0); 232 chans[i] = &mov->dest.dest.ssa; 236 chans[i] = nir_fneg(b, chans[i]); 238 def = nir_vec4(b, chans[0], chans[1], chans[2], chans[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | opt_copy_propagation_elements.cpp | 413 int chans; local in function:ir_copy_propagation_elements_visitor::handle_rvalue 429 chans = swizzle->type->vector_elements; 439 chans = deref_var->type->vector_elements; 453 for (int c = 0; c < chans; c++) { 468 for (int c = 1; c < chans; c++) { 493 chans);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | opt_copy_propagation_elements.cpp | 413 int chans; local in function:ir_copy_propagation_elements_visitor::handle_rvalue 429 chans = swizzle->type->vector_elements; 439 chans = deref_var->type->vector_elements; 453 for (int c = 0; c < chans; c++) { 468 for (int c = 1; c < chans; c++) { 493 chans);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_nir_lower_image_load_store.c | 294 unsigned chans; member in struct:format_info 305 .chans = isl_format_get_num_channels(fmt), 343 color = nir_format_unpack_sint(b, color, image.bits, image.chans); 345 color = nir_format_unpack_uint(b, color, image.bits, image.chans); 348 for (unsigned i = 1; i < image.chans; i++) 516 color = nir_channels(b, color, (1 << image.chans) - 1); 560 color = nir_format_pack_uint(b, color, image.bits, image.chans); 563 for (unsigned i = 1; i < image.chans; i++)
|
| H A D | brw_schedule_instructions.cpp | 120 int chans = 8; local in function:schedule_node::set_latency_gen4 125 this->latency = 1 * chans * math_latency; 128 this->latency = 2 * chans * math_latency; 134 this->latency = 3 * chans * math_latency; 139 this->latency = 4 * chans * math_latency; 142 this->latency = 8 * chans * math_latency; 147 this->latency = 5 * chans * math_latency;
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_nir_lower_storage_image.c | 240 unsigned chans; member in struct:format_info 251 .chans = isl_format_get_num_channels(fmt), 289 color = nir_format_unpack_sint(b, color, image.bits, image.chans); 291 color = nir_format_unpack_uint(b, color, image.bits, image.chans); 294 for (unsigned i = 1; i < image.chans; i++) 460 color = nir_channels(b, color, (1 << image.chans) - 1); 504 color = nir_format_pack_uint(b, color, image.bits, image.chans); 507 for (unsigned i = 1; i < image.chans; i++)
|
| H A D | brw_schedule_instructions.cpp | 122 int chans = 8; local in function:schedule_node::set_latency_gfx4 127 this->latency = 1 * chans * math_latency; 130 this->latency = 2 * chans * math_latency; 136 this->latency = 3 * chans * math_latency; 141 this->latency = 4 * chans * math_latency; 144 this->latency = 8 * chans * math_latency; 149 this->latency = 5 * chans * math_latency;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| H A D | prog_to_nir.c | 216 nir_ssa_def *chans[4]; local in function:ptn_get_src 220 chans[i] = nir_imm_float(b, 0.0); 222 chans[i] = nir_imm_float(b, 1.0); 232 chans[i] = &mov->dest.dest.ssa; 236 chans[i] = nir_fneg(b, chans[i]); 238 def = nir_vec4(b, chans[0], chans[1], chans[2], chans[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos.c | 536 LLVMValueRef packed, res = NULL, chans[4], rgba[4]; local in function:lp_build_fetch_rgba_aos 564 chans[j] = LLVMBuildLShr(builder, packed, 568 chans[j] = LLVMBuildAnd(builder, chans[j], 574 chans[j] = scale_bits_up(gallivm, format_desc->channel[j].size, 575 type.width, chans[j], conv_type); 587 rgba[j] = lp_build_swizzle_soa_channel(&bld_conv, chans, swizzle);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos.c | 538 LLVMValueRef packed, res = NULL, chans[4], rgba[4]; local in function:lp_build_fetch_rgba_aos 566 chans[j] = LLVMBuildLShr(builder, packed, 570 chans[j] = LLVMBuildAnd(builder, chans[j], 576 chans[j] = scale_bits_up(gallivm, format_desc->channel[j].size, 577 type.width, chans[j], conv_type); 589 rgba[j] = lp_build_swizzle_soa_channel(&bld_conv, chans, swizzle);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/isl/ |
| H A D | isl.c | 2459 enum isl_channel_select chans[4] = { enum in function:isl_swizzle_invert 2471 chans[swizzle.a - ISL_CHANNEL_SELECT_RED] = ISL_CHANNEL_SELECT_ALPHA; 2473 chans[swizzle.b - ISL_CHANNEL_SELECT_RED] = ISL_CHANNEL_SELECT_BLUE; 2475 chans[swizzle.g - ISL_CHANNEL_SELECT_RED] = ISL_CHANNEL_SELECT_GREEN; 2477 chans[swizzle.r - ISL_CHANNEL_SELECT_RED] = ISL_CHANNEL_SELECT_RED; 2479 return (struct isl_swizzle) { chans[0], chans[1], chans[2], chans[3] };
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_state_fs.c | 1371 LLVMValueRef chans[4]; local in function:convert_to_blend_type 1388 chans[j] = LLVMBuildLShr(builder, 1393 chans[j] = LLVMBuildAnd(builder, 1394 chans[j], 1400 chans[j] = scale_bits(gallivm, src_fmt->channel[j].size, 1401 blend_type.width, chans[j], src_type); 1405 chans[j] = LLVMBuildShl(builder, 1406 chans[j], 1411 res = chans[j]; 1413 res = LLVMBuildOr(builder, res, chans[ 1553 LLVMValueRef chans[4]; local in function:convert_from_blend_type [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_state_fs.c | 1950 LLVMValueRef chans[4]; local in function:convert_to_blend_type 1967 chans[j] = LLVMBuildLShr(builder, 1972 chans[j] = LLVMBuildAnd(builder, 1973 chans[j], 1979 chans[j] = scale_bits(gallivm, src_fmt->channel[j].size, 1980 blend_type.width, chans[j], src_type); 1984 chans[j] = LLVMBuildShl(builder, 1985 chans[j], 1990 res = chans[j]; 1992 res = LLVMBuildOr(builder, res, chans[ 2132 LLVMValueRef chans[4]; local in function:convert_from_blend_type [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_meta_blit2d.c | 482 nir_ssa_def *chans[3]; local in function:build_nir_texel_fetch 483 chans[0] = nir_channel(b, tex_pos, 0); 484 chans[1] = nir_channel(b, tex_pos, 1); 485 chans[2] = layer; 486 tex_pos_3d = nir_vec(b, chans, 3);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_meta_blit2d.c | 506 nir_ssa_def *chans[3]; local in function:build_nir_texel_fetch 507 chans[0] = nir_channel(b, tex_pos, 0); 508 chans[1] = nir_channel(b, tex_pos, 1); 509 chans[2] = &layer->dest.ssa; 510 tex_pos_3d = nir_vec(b, chans, 3);
|