Lines Matching refs:bothOutOfBoundsNdx
3146 int bothOutOfBoundsNdx = -1;
3151 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v.
3152 bothOutOfBoundsNdx = i;
3155 if (bothOutOfBoundsNdx != -1)
3157 sampleColors[bothOutOfBoundsNdx] = Vec4(0.0f);
3159 if (i != bothOutOfBoundsNdx)
3160 sampleColors[bothOutOfBoundsNdx] += sampleColors[i];
3162 sampleColors[bothOutOfBoundsNdx] = sampleColors[bothOutOfBoundsNdx] * (1.0f/3.0f);
3389 int bothOutOfBoundsNdx = -1;
3394 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v.
3395 bothOutOfBoundsNdx = i;
3398 if (bothOutOfBoundsNdx != -1)
3400 sampleRes[bothOutOfBoundsNdx] = 0.0f;
3402 if (i != bothOutOfBoundsNdx)
3403 sampleRes[bothOutOfBoundsNdx] += sampleRes[i];
3405 sampleRes[bothOutOfBoundsNdx] = sampleRes[bothOutOfBoundsNdx] * (1.0f/3.0f);