/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessUtil.cpp | 162 for (VkDeviceSize scalarNdx = 0; scalarNdx < size / 4; scalarNdx++) in populateBufferWithTestValues() local 164 const deUint32 valueIndex = (deUint32)(2 + scalarNdx); // Do not use 0 or 1 in populateBufferWithTestValues() 168 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = valueIndex; in populateBufferWithTestValues() 172 reinterpret_cast<deInt32*>(buffer)[scalarNdx] = -deInt32(valueIndex); in populateBufferWithTestValues() 176 reinterpret_cast<float*>(buffer)[scalarNdx] = float(valueIndex); in populateBufferWithTestValues() 185 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 | 897 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 899 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() 901 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 | 1283 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1284 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues() 1784 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1786 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues() 2023 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2024 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues() 2042 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2044 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
|
D | es31fSSBOLayoutCase.cpp | 1021 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local 1023 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc() 1025 if (scalarNdx > 0) in generateImmScalarVectorSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 1503 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1504 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues() 2025 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2027 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues() 2283 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2284 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues() 2302 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 2304 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
|
D | vktShaderBuiltinPrecisionTests.cpp | 5678 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 5679 dst.push_back(Value(scalars[scalarNdx])); in genFixeds() 5711 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local 5712 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 977 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 979 const deUint8* compPtr = elemPtr + scalarNdx*compSize; in generateValueSrc() 981 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/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 1200 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local 1201 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1266 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateValueSrc() local 1268 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() 1270 if (scalarNdx > 0) in generateValueSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1205 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local 1207 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc() 1209 if (scalarNdx > 0) in generateImmScalarVectorSrc()
|