/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 320 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers() local 324 curScalarOffset += scalarSize*numValues; in getInputOutputPointers() 526 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 529 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 531 …mScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 538 const int scalarSize = glu::getDataTypeScalarSize(type); in compare() local 545 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 561 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 608 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 613 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f); in getInputValues() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 139 const int scalarSize = glu::getDataTypeScalarSize(dataType); in generateRandomInputData() local 147 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() 148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 153 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() 154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() 244 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers() local 248 curScalarOffset += scalarSize*numValues; in getInputOutputPointers() 373 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 399 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() 401 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues() [all …]
|
D | es31fShaderSharedVarTests.cpp | 191 const int scalarSize = getDataTypeScalarSize(m_basicType); in iterate() local 197 vector<float> values (numValues*scalarSize); in iterate() 206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); in iterate() 207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); in iterate() 208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); in iterate() 209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); in iterate() 216 vector<int> values (numValues*scalarSize); in iterate() 225 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]); in iterate() 226 else if (scalarSize == 2) gl.uniform2iv(location, numValues, &values[0]); in iterate() 227 else if (scalarSize == 3) gl.uniform3iv(location, numValues, &values[0]); in iterate() [all …]
|
D | es31fSSBOLayoutCase.cpp | 734 const int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValue() local 741 const int vecSize = scalarSize / numVecs; in generateValue() 744 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 1015 const int scalarSize = glu::getDataTypeScalarSize(basicType); in generateImmScalarVectorSrc() local 1018 if (scalarSize > 1) in generateImmScalarVectorSrc() 1021 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() 1039 if (scalarSize > 1) in generateImmScalarVectorSrc() 1479 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData() local 1526 …DE_ASSERT((deIntptr)(srcElemPtr + scalarSize*compSize) - (deIntptr)srcBlockPtr.ptr <= (deIntptr)sr… in copyBufferVarData() 1527 …DE_ASSERT((deIntptr)(dstElemPtr + scalarSize*compSize) - (deIntptr)dstBlockPtr.ptr <= (deIntptr)ds… in copyBufferVarData() [all …]
|
D | es31fTessellationTests.cpp | 5842 const int scalarSize = glu::getDataTypeScalarSize(type); in glslAssignBasicTypeObject() local 5850 for (int i = 0; i < scalarSize; i++) in glslAssignBasicTypeObject() 5863 const int scalarSize = glu::getDataTypeScalarSize(type); in glslCheckBasicTypeObject() local 5871 for (int i = 0; i < scalarSize; i++) in glslCheckBasicTypeObject()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 246 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers() local 250 curScalarOffset += scalarSize*numValues; in getInputOutputPointers() 448 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 451 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 453 …mScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 460 const int scalarSize = glu::getDataTypeScalarSize(type); in compare() local 467 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 483 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 530 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 535 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f); in getInputValues() [all …]
|
D | es3fFragmentOutputTests.cpp | 782 int scalarSize = glu::getDataTypeScalarSize(output.type); in iterate() local 797 gl.vertexAttribPointer(loc, scalarSize, glScalarType, GL_FALSE, 0, &inputs[curInVec][0]); in iterate() 799 gl.vertexAttribIPointer(loc, scalarSize, glScalarType, 0, &inputs[curInVec][0]); in iterate() 845 const int scalarSize = glu::getDataTypeScalarSize(output.type); in iterate() local 861 renderIntReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const int*)inputData); in iterate() 863 renderFloatReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const float*)inputData); in iterate()
|
D | es3fTransformFeedbackTests.cpp | 401 int scalarSize = glu::getDataTypeScalarSize(subType.getBasicType()); in genShaderSources() local 404 if (scalarSize == 1) frag << "vec4(" << name << vecIter << ")"; in genShaderSources() 405 else if (scalarSize == 2) frag << "vec2(" << name << vecIter << ").xxyy"; in genShaderSources() 406 else if (scalarSize == 3) frag << "vec3(" << name << vecIter << ").xyzx"; in genShaderSources() 407 else if (scalarSize == 4) frag << "vec4(" << name << vecIter << ")"; in genShaderSources()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 263 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers() local 267 curScalarOffset += scalarSize*numValues; in getInputOutputPointers() 612 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 615 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 617 …mScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues() 624 const int scalarSize = glu::getDataTypeScalarSize(type); in compare() local 631 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 647 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() 709 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 714 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f); in getInputValues() [all …]
|
D | vktShaderIntegerFunctionTests.cpp | 141 const int scalarSize = glu::getDataTypeScalarSize(dataType); in generateRandomInputData() local 149 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() 150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 155 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() 156 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() 184 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers() local 188 curScalarOffset += scalarSize*numValues; in getInputOutputPointers() 476 const int scalarSize = glu::getDataTypeScalarSize(type); in getInputValues() local 502 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() 504 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues() [all …]
|
D | vktShaderExecutor.cpp | 1743 const int scalarSize = glu::getDataTypeScalarSize(basicType); in copyToBuffer() local 1745 const int numComps = scalarSize / numVecs; in copyToBuffer() 1751 const int srcOffset = (int)sizeof(deUint32) * (elemNdx * scalarSize + vecNdx * numComps); in copyToBuffer() 1770 const int scalarSize = glu::getDataTypeScalarSize(basicType); in copyFromBuffer() local 1772 const int numComps = scalarSize / numVecs; in copyFromBuffer() 1779 const int dstOffset = (int)sizeof(deUint32) * (elemNdx * scalarSize + vecNdx * numComps); in copyFromBuffer()
|
/external/deqp/modules/gles3/scripts/ |
D | gen-swizzles.py | 108 scalarSize = getDataTypeScalarSize(dataType) variable 256 scalarSize = getDataTypeScalarSize(dataType) variable 259 for swizzleIndices in getSwizzlesForWidth(scalarSize):
|
/external/deqp/modules/gles2/scripts/ |
D | gen-swizzles.py | 108 scalarSize = getDataTypeScalarSize(dataType) variable 252 scalarSize = getDataTypeScalarSize(dataType) variable 255 for swizzleIndices in getSwizzlesForWidth(scalarSize):
|
/external/deqp/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 773 const int scalarSize = getDataTypeScalarSize(dataType); in setUniformValue() local 775 const int elemNdx = arrayNdx * scalarSize; in setUniformValue() 777 DE_ASSERT(elemNdx+scalarSize <= (int)val.elements.size()); in setUniformValue() 1175 const int scalarSize = getDataTypeScalarSize(dataType); in execute() local 1179 scalars.resize(numVerticesPerDraw * scalarSize); in execute() 1183 for (int ndx = 0; ndx < scalarSize; ndx++) in execute() 1184 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; in execute() 1191 for (int ndx = 0; ndx < scalarSize; ndx++) in execute() 1193 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; in execute() 1194 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v); in execute() [all …]
|
D | glsUniformBlockCase.cpp | 627 int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValue() local 630 int vecSize = scalarSize / numVecs; in generateValue() 634 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 945 int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValueSrc() local 950 if (scalarSize > 1) in generateValueSrc() 977 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() 996 if (scalarSize > 1) in generateValueSrc() 1274 int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyUniformData() local 1301 deMemcpy(dstElemPtr, srcElemPtr, scalarSize*compSize); in copyUniformData()
|
D | glsShaderExecUtil.cpp | 974 const int scalarSize = glu::getDataTypeScalarSize(basicType); in copyToBuffer() local 976 const int numComps = scalarSize / numVecs; in copyToBuffer() 982 const int srcOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer() 1001 const int scalarSize = glu::getDataTypeScalarSize(basicType); in copyFromBuffer() local 1003 const int numComps = scalarSize / numVecs; in copyFromBuffer() 1010 const int dstOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyFromBuffer()
|
/external/deqp/framework/randomshaders/ |
D | rsgVariableValue.hpp | 166 int scalarSize = this->getType().getScalarSize(); in operator =() local 168 if (scalarSize == 0) in operator =() 172 std::copy(valueRead.getValuePtr(), valueRead.getValuePtr() + scalarSize*Stride, this->m_value); in operator =() 175 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in operator =()
|
/external/deqp/framework/opengl/ |
D | gluShaderLibrary.cpp | 954 int scalarSize = getDataTypeScalarSize(expectedDataType); in parseValueElement() local 959 if (scalarSize > 1) in parseValueElement() 966 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() 1003 if (scalarNdx != (scalarSize - 1)) in parseValueElement() 1007 if (scalarSize > 1) in parseValueElement() 1011 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() 1673 int scalarSize = getDataTypeScalarSize(dataType); in dumpValue() local 1689 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in dumpValue() 1692 const Value::Element& e = val.elements[elemNdx*scalarSize + scalarNdx]; in dumpValue() 1715 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32; in dumpValue()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 649 const int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValue() local 656 const int vecSize = scalarSize / numVecs; in generateValue() 659 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 930 const int scalarSize = glu::getDataTypeScalarSize(basicType); in generateImmScalarVectorSrc() local 933 if (scalarSize > 1) in generateImmScalarVectorSrc() 936 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() 954 if (scalarSize > 1) in generateImmScalarVectorSrc() 1257 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData() local 1304 …DE_ASSERT((deIntptr)(srcElemPtr + scalarSize*compSize) - (deIntptr)srcBlockPtr.ptr <= (deIntptr)sr… in copyBufferVarData() 1305 …DE_ASSERT((deIntptr)(dstElemPtr + scalarSize*compSize) - (deIntptr)dstBlockPtr.ptr <= (deIntptr)ds… in copyBufferVarData() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 662 const int scalarSize = getDataTypeScalarSize(basicType); in copyToLayout() local 664 …nst int numComps = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumRows(basicType) : scalarSize; in copyToLayout() 666 DE_ASSERT(size_t((arrayNdx+1)*scalarSize) <= value.elements.size()); in copyToLayout() 674 …const deUint32 data = value.elements[arrayNdx*scalarSize + vecNdx*numComps + compNdx].bool32 ? ~0u… in copyToLayout() 686 &value.elements[arrayNdx*scalarSize + vecNdx*numComps], in copyToLayout() 937 vk::VkFormat getVecFormat (DataType scalarType, int scalarSize) in getVecFormat() argument 950 return de::getSizedArrayElement<4>(vecFmts, scalarSize-1); in getVecFormat() 962 return de::getSizedArrayElement<4>(vecFmts, scalarSize-1); in getVecFormat() 974 return de::getSizedArrayElement<4>(vecFmts, scalarSize-1); in getVecFormat() 986 return de::getSizedArrayElement<4>(vecFmts, scalarSize-1); in getVecFormat()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 574 int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValue() local 577 int vecSize = scalarSize / numVecs; in generateValue() 581 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 891 int scalarSize = glu::getDataTypeScalarSize(entry.type); in generateValueSrc() local 896 if (scalarSize > 1) in generateValueSrc() 923 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() 942 if (scalarSize > 1) in generateValueSrc()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 1783 const int scalarSize = glu::getDataTypeScalarSize(paramType); in setGeneralUniforms() local 1791 uniformNfv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms() 1798 uniformNiv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms() 1805 uniformNiv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 1791 const int scalarSize = glu::getDataTypeScalarSize(paramType); in setGeneralUniforms() local 1799 uniformNfv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms() 1806 uniformNiv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms() 1813 uniformNiv(gl, scalarSize, location, 1, &values[0]); in setGeneralUniforms()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3770 const int scalarSize = glu::getDataTypeScalarSize(type); in uniformv() local 3771 DE_ASSERT(scalarSize*sizeof(deUint32) <= sizeof(uniforms[location].value)); in uniformv() 3772 deMemcpy(&uniforms[location].value, v, scalarSize*(int)sizeof(deUint32)); in uniformv()
|
/external/guice/extensions/persist/lib/ |
D | hibernate3.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/hibernate/
org/ ... |