Home | History | Annotate | Download | only in main

Lines Matching refs:elements

279       unsigned elements = (uni->type->is_sampler())
282 /* Calculate the source base address *BEFORE* modifying elements to
286 &uni->storage[offset * elements];
294 unsigned bytes = sizeof(src[0]) * elements;
323 for (unsigned i = 0; i < elements; i++) {
432 assert(Elements(stages) == MESA_SHADER_TYPES);
468 * \param count Number of array elements to propagate.
728 * "When loading N elements starting at an arbitrary position k in a
729 * uniform declared as an array, elements k through k + N - 1 in the
797 for (unsigned j = 0; j < Elements(prog->SamplerUnits); j++) {
836 unsigned elements;
882 * "When loading N elements starting at an arbitrary position k in a
883 * uniform declared as an array, elements k through k + N - 1 in the
899 elements = components * vectors;
902 memcpy(&uni->storage[elements * offset], values,
903 sizeof(uni->storage[0]) * elements * count);
908 float *dst = &uni->storage[elements * offset].f;
917 dst += elements;
918 src += elements;