/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 319 const int scalarSize = var.varType.getScalarSize(); 323 curScalarOffset += scalarSize*numValues; 525 const int scalarSize = glu::getDataTypeScalarSize(type); 528 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); 530 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize); 537 const int scalarSize = glu::getDataTypeScalarSize(type); 544 for (int compNdx = 0; compNdx < scalarSize; compNdx++) 560 for (int compNdx = 0; compNdx < scalarSize; compNdx++) 607 const int scalarSize = glu::getDataTypeScalarSize(type); 612 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f) [all...] |
es31fShaderSharedVarTests.cpp | 191 const int scalarSize = getDataTypeScalarSize(m_basicType); 197 vector<float> values (numValues*scalarSize); 206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); 207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); 208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); 209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); 216 vector<int> values (numValues*scalarSize); 225 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]); 226 else if (scalarSize == 2) gl.uniform2iv(location, numValues, &values[0]); 227 else if (scalarSize == 3) gl.uniform3iv(location, numValues, &values[0]) [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...] |
es31fTessellationTests.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
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...] |
es3fFragmentOutputTests.cpp | 782 int scalarSize = glu::getDataTypeScalarSize(output.type); 797 gl.vertexAttribPointer(loc, scalarSize, glScalarType, GL_FALSE, 0, &inputs[curInVec][0]); 799 gl.vertexAttribIPointer(loc, scalarSize, glScalarType, 0, &inputs[curInVec][0]); 845 const int scalarSize = glu::getDataTypeScalarSize(output.type); 861 renderIntReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const int*)inputData); 863 renderFloatReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const float*)inputData); [all...] |
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...] |
/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/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/glshared/ |
glsShaderLibraryCase.cpp | 534 const int scalarSize = getDataTypeScalarSize(val.dataType); 536 const int elemNdx = (val.arrayLength == 1) ? (0) : (arrayNdx * scalarSize); 901 const int scalarSize = getDataTypeScalarSize(val.dataType); 907 scalars.resize(numVerticesPerDraw * scalarSize); 911 for (int ndx = 0; ndx < scalarSize; ndx++) 912 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; 919 for (int ndx = 0; ndx < scalarSize; ndx++) 921 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; 922 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v) [all...] |
glsShaderExecUtil.cpp | 547 const int scalarSize = symbol.varType.getScalarSize(); 550 deMemcpy((deUint32*)dstPtr + scalarSize*ndx, (const deUint8*)srcPtr + curOffset + ndx*outputBufferStride, scalarSize*sizeof(deUint32)); 552 curOffset += scalarSize*sizeof(deUint32); [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...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderOperatorTests.cpp | [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderOperatorTests.cpp | [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | [all...] |