HomeSort by: relevance | last modified time | path
    Searched refs:shifts (Results 1 - 14 of 14) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
pan_encoder.h 163 /* The values needing packing, in order, and the corresponding shifts.
167 unsigned shifts[7] = { 0 }; local
175 packed |= ((values[i] - 1) << shifts[i]);
181 shifts[i + 1] = shifts[i] + bit_count;
186 cfg.size_y_shift = shifts[1];
187 cfg.size_z_shift = shifts[2];
188 cfg.workgroups_x_shift = shifts[3];
192 cfg.workgroups_y_shift = shifts[4];
193 cfg.workgroups_z_shift = shifts[5]
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/
utils.c 182 int shifts[4]; member in struct:__anon2532
220 const int * shifts; local
236 shifts = format_table[0].shifts;
241 shifts = format_table[1].shifts;
246 shifts = format_table[2].shifts;
251 shifts = format_table[5].shifts;
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/common/tests/
mi_builder_test.cpp 717 uint32_t shifts[] = { 0, 1, 2, 4, 8, 16, 32 };
718 memcpy(input + 8, shifts, sizeof(shifts));
720 for (unsigned i = 0; i < ARRAY_SIZE(shifts); i++) {
727 for (unsigned i = 0; i < ARRAY_SIZE(shifts); i++) {
729 mi_ishl(&b, mi_imm(value), mi_imm(shifts[i])));
738 uint32_t shifts[] = { 0, 1, 2, 4, 8, 16, 32 };
739 memcpy(input + 8, shifts, sizeof(shifts));
741 for (unsigned i = 0; i < ARRAY_SIZE(shifts); i++)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
platform_drm.c 100 int shifts[4]; local
110 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes);
123 if (shifts[0] != visual->rgba_shifts.red ||
124 shifts[1] != visual->rgba_shifts.green ||
125 shifts[2] != visual->rgba_shifts.blue ||
126 (shifts[3] > -1 && visual->rgba_shifts.alpha > -1 &&
127 shifts[3] != visual->rgba_shifts.alpha) ||
623 int shifts[4]; local
627 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes);
634 if (visuals[j].rgba_shifts.red != shifts[0] |
    [all...]
egl_dri2.c 331 const __DRIconfig *config, int *shifts,
336 if (core->getConfigAttrib(config, __DRI_ATTRIB_RED_SHIFT, (unsigned int *)&shifts[0])) {
337 core->getConfigAttrib(config, __DRI_ATTRIB_GREEN_SHIFT, (unsigned int *)&shifts[1]);
338 core->getConfigAttrib(config, __DRI_ATTRIB_BLUE_SHIFT, (unsigned int *)&shifts[2]);
339 core->getConfigAttrib(config, __DRI_ATTRIB_ALPHA_SHIFT, (unsigned int *)&shifts[3]);
341 /* Driver isn't exposing shifts, so convert masks to shifts */
343 shifts[0] = ffs(mask) - 1;
345 shifts[1] = ffs(mask) - 1;
347 shifts[2] = ffs(mask) - 1
373 int shifts[4]; local
    [all...]
platform_wayland.c 163 int shifts[4]; local
166 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes);
171 int cmp_rgb_shifts = memcmp(shifts, wl_visual->rgba_shifts,
172 3 * sizeof(shifts[0]));
177 wl_visual->rgba_shifts[3] == (force_opaque ? -1 : shifts[3]) &&
egl_dri2.h 436 const __DRIconfig *config, int *shifts,
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_aos.c 227 LLVMValueRef shifts[4]; local
269 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
282 shifts[i] = lp_build_const_int32(gallivm, shift);
303 * several vector shifts and shuffle/blend results together.
328 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), "");
373 LLVMValueRef shifts[4]; local
406 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
415 shifts[i] = lp_build_const_int32(gallivm, shift);
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), "");
lp_bld_swizzle.c 190 * Bit mask and shifts
247 * Bit mask and recursive shifts
265 * shifts[] gives little-endian shift amounts; we need to negate for big-endian.
268 const int shifts[4][2] = { local
294 int shift = shifts[channel][i];
453 * Bit mask and shifts.
500 * same shift as possible. The shift amount is positive for shifts left
501 * and negative for shifts right.
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_aos.c 227 LLVMValueRef shifts[4]; local
269 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
282 shifts[i] = lp_build_const_int32(gallivm, shift);
303 * several vector shifts and shuffle/blend results together.
328 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), "");
373 LLVMValueRef shifts[4]; local
406 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
415 shifts[i] = lp_build_const_int32(gallivm, shift);
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), "");
lp_bld_swizzle.c 189 * Bit mask and shifts
246 * Bit mask and recursive shifts
264 * shifts[] gives little-endian shift amounts; we need to negate for big-endian.
267 const int shifts[4][2] = { local
293 int shift = shifts[channel][i];
450 * Bit mask and shifts.
497 * same shift as possible. The shift amount is positive for shifts left
498 * and negative for shifts right.
  /xsrc/external/mit/libX11/dist/src/xlibi18n/
lcGeneric.c 789 } shifts[] = { local
803 for (j = 0; shifts[j].str; j++) {
804 if (!_XlcNCompareISOLatin1(tmp, shifts[j].str,
805 (int) strlen(shifts[j].str))) {
806 type = shifts[j].type;
807 tmp += strlen(shifts[j].str);
  /xsrc/external/mit/MesaLib/dist/src/panfrost/util/
pan_lower_framebuffer.c 268 nir_ssa_def *shifts = nir_imm_ivec4(b, 8 - x, 8 - y, 8 - z, 8 - w); local
277 nir_ssa_def *s = nir_ishl(b, u8, shifts);
  /xsrc/external/mit/MesaLib/dist/src/amd/compiler/
aco_optimizer.cpp 1157 unsigned shifts = (instr->opcode == aco_opcode::ds_write2_b64 ||
1162 if ((offset & mask) == 0 && ds.offset0 + (offset >> shifts) <= 255 &&
1163 ds.offset1 + (offset >> shifts) <= 255) {
1165 ds.offset0 += offset >> shifts;
1166 ds.offset1 += offset >> shifts;

Completed in 26 milliseconds