/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessUtil.cpp | 202 for (VkDeviceSize scalarNdx = 0; scalarNdx < size / 4; scalarNdx++) in populateBufferWithTestValues() local 204 const deUint32 valueIndex = (deUint32)(2 + scalarNdx); // Do not use 0 or 1 in populateBufferWithTestValues() 208 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = valueIndex; in populateBufferWithTestValues() 212 reinterpret_cast<deInt32*>(buffer)[scalarNdx] = -deInt32(valueIndex); in populateBufferWithTestValues() 216 reinterpret_cast<float*>(buffer)[scalarNdx] = float(valueIndex); in populateBufferWithTestValues() 225 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = (a << 30) | (b << 20) | (g << 10) | r; in populateBufferWithTestValues()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderLibrary.cpp | 755 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() local 767 elems[scalarNdx].float32 = signMult * parseFloatLiteral(m_curTokenStr.c_str()); in parseValueElement() 780 elems[scalarNdx].int32 = (deInt32)(signMult * parseIntLiteral(m_curTokenStr.c_str())); in parseValueElement() 786 elems[scalarNdx].bool32 = (m_curToken == TOKEN_TRUE); in parseValueElement() 792 if (scalarNdx != (scalarSize - 1)) in parseValueElement() 800 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() local 801 result.elements.push_back(elems[scalarNdx]); in parseValueElement()
|
D | glcShaderLibraryCase.cpp | 1018 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in dumpValues() local 1021 const Value::Element& e = val.elements[elemNdx * scalarSize + scalarNdx]; in dumpValues() 1022 result << ((scalarNdx != 0) ? ", " : ""); in dumpValues()
|
D | glcUniformBlockCase.cpp | 892 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 894 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() 896 if (scalarNdx > 0) in generateValueSrc()
|
/external/deqp/framework/opengl/ |
D | gluShaderLibrary.cpp | 939 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() local 951 elems[scalarNdx].float32 = signMult * parseFloatLiteral(m_curTokenStr.c_str()); in parseValueElement() 964 elems[scalarNdx].int32 = signMult * parseIntLiteral(m_curTokenStr.c_str()); in parseValueElement() 970 elems[scalarNdx].bool32 = (m_curToken == TOKEN_TRUE); in parseValueElement() 976 if (scalarNdx != (scalarSize - 1)) in parseValueElement() 984 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in parseValueElement() local 985 result.elements.push_back(elems[scalarNdx]); in parseValueElement() 1666 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in dumpValue() local 1669 const Value::Element& e = val.elements[elemNdx*scalarSize + scalarNdx]; in dumpValue() 1670 result << ((scalarNdx != 0) ? ", " : ""); in dumpValue()
|
/external/deqp/framework/randomshaders/ |
D | rsgVariableValue.hpp | 175 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in operator =() local 176 …std::fill(this->m_value + scalarNdx*Stride, this->m_value + (scalarNdx+1)*Stride, valueRead.getVal… in operator =()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 1243 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1244 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues() 1744 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1746 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues() 1984 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1985 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues() 2003 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2005 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
|
D | es31fSSBOLayoutCase.cpp | 1016 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local 1018 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc() 1020 if (scalarNdx > 0) in generateImmScalarVectorSrc()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 980 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 982 const deUint8* compPtr = elemPtr + scalarNdx*compSize; in generateValueSrc() 984 if (scalarNdx > 0) in generateValueSrc()
|
D | glsBuiltinPrecisionTests.cpp | 4389 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 4390 dst.push_back(Value(scalars[scalarNdx])); in genFixeds() 4422 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 4423 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
|
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 1242 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 1244 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() 1246 if (scalarNdx > 0) in generateValueSrc()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 1163 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1164 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1233 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 1235 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() 1237 if (scalarNdx > 0) in generateValueSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1224 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local 1226 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc() 1228 if (scalarNdx > 0) in generateImmScalarVectorSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 5960 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 5961 dst.push_back(Value(scalars[scalarNdx])); in genFixeds() 5988 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 5989 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
|