Home
last modified time | relevance | path

Searched refs:scalarNdx (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibrary.cpp755 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()
DglcShaderLibraryCase.cpp1018 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()
DglcUniformBlockCase.cpp892 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessUtil.cpp249 for (VkDeviceSize scalarNdx = 0; scalarNdx < size / 4; scalarNdx++) in populateBufferWithTestValues() local
251 const deUint32 valueIndex = (deUint32)(2 + scalarNdx); // Do not use 0 or 1 in populateBufferWithTestValues()
255 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = valueIndex; in populateBufferWithTestValues()
259 reinterpret_cast<deInt32*>(buffer)[scalarNdx] = -deInt32(valueIndex); in populateBufferWithTestValues()
263 reinterpret_cast<float*>(buffer)[scalarNdx] = float(valueIndex); in populateBufferWithTestValues()
272 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = (a << 30) | (b << 20) | (g << 10) | r; in populateBufferWithTestValues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp249 for (VkDeviceSize scalarNdx = 0; scalarNdx < size / 4; scalarNdx++) in populateBufferWithTestValues() local
251 const deUint32 valueIndex = (deUint32)(2 + scalarNdx); // Do not use 0 or 1 in populateBufferWithTestValues()
255 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = valueIndex; in populateBufferWithTestValues()
259 reinterpret_cast<deInt32*>(buffer)[scalarNdx] = -deInt32(valueIndex); in populateBufferWithTestValues()
263 reinterpret_cast<float*>(buffer)[scalarNdx] = float(valueIndex); in populateBufferWithTestValues()
272 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = (a << 30) | (b << 20) | (g << 10) | r; in populateBufferWithTestValues()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderLibrary.cpp939 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()
1663 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in dumpValue() local
1666 const Value::Element& e = val.elements[elemNdx*scalarSize + scalarNdx]; in dumpValue()
1667 result << ((scalarNdx != 0) ? ", " : ""); in dumpValue()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.hpp175 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 =()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp1243 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()
1985 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local
1986 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
2004 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local
2006 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
Des31fSSBOLayoutCase.cpp1016 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()
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp980 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()
DglsBuiltinPrecisionTests.cpp4390 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
4391 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
4423 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
4424 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1242 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1242 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()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp1163 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in getInputValues() local
1164 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1233 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
DvktUniformBlockCase.cpp1233 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1105 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local
1107 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc()
1109 if (scalarNdx > 0) in generateImmScalarVectorSrc()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1105 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++) in generateImmScalarVectorSrc() local
1107 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc()
1109 if (scalarNdx > 0) in generateImmScalarVectorSrc()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5994 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
5995 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
6022 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
6023 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5994 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
5995 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()
6022 for (size_t scalarNdx = 0; scalarNdx < scalars.size(); ++scalarNdx) in genFixeds() local
6023 dst.push_back(Value(scalars[scalarNdx])); in genFixeds()