HomeSort by relevance Sort by last modified time
    Searched defs:scalarSize (Results 1 - 13 of 13) sorted by null

  /external/deqp/framework/randomshaders/
rsgVariableValue.hpp 166 int scalarSize = this->getType().getScalarSize();
168 if (scalarSize == 0)
172 std::copy(valueRead.getValuePtr(), valueRead.getValuePtr() + scalarSize*Stride, this->m_value);
175 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
  /external/deqp/modules/gles2/scripts/
gen-swizzles.py 86 scalarSize = getDataTypeScalarSize(dataType)
230 scalarSize = getDataTypeScalarSize(dataType)
233 for swizzleIndices in getSwizzlesForWidth(scalarSize):
244 # scalarSize = getDataTypeScalarSize(dataType)
246 # for swizzleIndices in getSwizzlesForWidth(scalarSize):
  /external/deqp/modules/gles3/scripts/
gen-swizzles.py 86 scalarSize = getDataTypeScalarSize(dataType)
234 scalarSize = getDataTypeScalarSize(dataType)
237 for swizzleIndices in getSwizzlesForWidth(scalarSize):
248 # scalarSize = getDataTypeScalarSize(dataType)
250 # for swizzleIndices in getSwizzlesForWidth(scalarSize):
  /external/deqp/modules/gles31/functional/
es31fShaderSharedVarTests.cpp 190 const int scalarSize = getDataTypeScalarSize(m_basicType);
196 vector<float> values (numValues*scalarSize);
205 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]);
206 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]);
207 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]);
208 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]);
215 vector<int> values (numValues*scalarSize);
224 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]);
225 else if (scalarSize == 2) gl.uniform2iv(location, numValues, &values[0]);
226 else if (scalarSize == 3) gl.uniform3iv(location, numValues, &values[0])
    [all...]
es31fShaderCommonFunctionTests.cpp 273 const int scalarSize = var.varType.getScalarSize();
277 curScalarOffset += scalarSize*numValues;
479 const int scalarSize = glu::getDataTypeScalarSize(type);
482 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
484 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize);
491 const int scalarSize = glu::getDataTypeScalarSize(type);
498 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
514 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
561 const int scalarSize = glu::getDataTypeScalarSize(type);
566 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f)
    [all...]
es31fShaderIntegerFunctionTests.cpp 139 const int scalarSize = glu::getDataTypeScalarSize(dataType);
147 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask;
153 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
154 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength);
244 const int scalarSize = var.varType.getScalarSize();
248 curScalarOffset += scalarSize*numValues;
373 const int scalarSize = glu::getDataTypeScalarSize(type);
399 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
401 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask
    [all...]
es31fSSBOLayoutCase.cpp 734 const int scalarSize = glu::getDataTypeScalarSize(entry.type);
741 const int vecSize = scalarSize / numVecs;
744 DE_ASSERT(scalarSize%numVecs == 0);
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTransformFeedbackTests.cpp 401 int scalarSize = glu::getDataTypeScalarSize(subType.getBasicType());
404 if (scalarSize == 1) frag << "vec4(" << name << vecIter << ")";
405 else if (scalarSize == 2) frag << "vec2(" << name << vecIter << ").xxyy";
406 else if (scalarSize == 3) frag << "vec3(" << name << vecIter << ").xyzx";
407 else if (scalarSize == 4) frag << "vec4(" << name << vecIter << ")";
    [all...]
es3fFragmentOutputTests.cpp 717 int scalarSize = glu::getDataTypeScalarSize(output.type);
732 gl.vertexAttribPointer(loc, scalarSize, glScalarType, GL_FALSE, 0, &inputs[curInVec][0]);
734 gl.vertexAttribIPointer(loc, scalarSize, glScalarType, 0, &inputs[curInVec][0]);
774 const int scalarSize = glu::getDataTypeScalarSize(output.type);
790 renderIntReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const int*)inputData);
792 renderFloatReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const float*)inputData);
    [all...]
es3fShaderCommonFunctionTests.cpp 246 const int scalarSize = var.varType.getScalarSize();
250 curScalarOffset += scalarSize*numValues;
448 const int scalarSize = glu::getDataTypeScalarSize(type);
451 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
453 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize);
460 const int scalarSize = glu::getDataTypeScalarSize(type);
467 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
483 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
530 const int scalarSize = glu::getDataTypeScalarSize(type);
535 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f)
    [all...]
  /external/deqp/modules/glshared/
glsShaderExecUtil.cpp 531 const int scalarSize = symbol.varType.getScalarSize();
534 deMemcpy((deUint32*)dstPtr + scalarSize*ndx, (const deUint8*)srcPtr + curOffset + ndx*outputBufferStride, scalarSize*sizeof(deUint32));
536 curOffset += scalarSize*sizeof(deUint32);
    [all...]
glsShaderLibrary.cpp 731 int scalarSize = getDataTypeScalarSize(expectedDataType);
736 if (scalarSize > 1)
743 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
780 if (scalarNdx != (scalarSize - 1))
784 if (scalarSize > 1)
788 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
    [all...]
glsUniformBlockCase.cpp 627 int scalarSize = glu::getDataTypeScalarSize(entry.type);
630 int vecSize = scalarSize / numVecs;
634 DE_ASSERT(scalarSize%numVecs == 0);
945 int scalarSize = glu::getDataTypeScalarSize(entry.type);
950 if (scalarSize > 1)
977 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
996 if (scalarSize > 1)
    [all...]

Completed in 1026 milliseconds