/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrVertexAttrib.hpp | 151 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, c… 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, … 153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, … 157 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribFloat() argument 160 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribFloat() 164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt() argument 167 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribInt() 171 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribUint() argument 174 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribUint()
|
D | rrVertexAttrib.cpp | 491 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttrib() argument 497 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / ver… in readVertexAttrib() 511 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttrib() argument 517 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / ver… in readVertexAttrib() 531 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttrib() argument 537 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / ver… in readVertexAttrib()
|
D | rrVertexPacket.hpp | 56 int instanceNdx; //!< Instance index. member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 745 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local 759 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout() 1164 string getShaderName (const BufferBlock& block, int instanceNdx, const BufferVar& var, const glu::T… in getShaderName() argument 1173 name << "[nonuniformEXT(" << instanceNdx << ")]"; in getShaderName() 1175 name << "[" << instanceNdx << "]"; in getShaderName() 1180 DE_ASSERT(instanceNdx == 0); in getShaderName() 1215 int instanceNdx, in generateCompareSrc() argument 1225 …tArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getA… in generateCompareSrc() 1228 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc() 1235 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc() [all …]
|
D | vktSSBOLayoutCase.hpp | 111 …int getLastUnsizedArraySize (int instanceNdx) const { return m_lastUnsizedArraySizes[instanc… in getLastUnsizedArraySize() 112 …void setLastUnsizedArraySize (int instanceNdx, int size) { m_lastUnsizedArraySizes[instanceNdx… in setLastUnsizedArraySize() argument
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.hpp | 100 …int getLastUnsizedArraySize (int instanceNdx) const { return m_lastUnsizedArraySizes[instanc… in getLastUnsizedArraySize() 101 …void setLastUnsizedArraySize (int instanceNdx, int size) { m_lastUnsizedArraySizes[instanceNdx… in setLastUnsizedArraySize() argument
|
D | es31fSSBOLayoutCase.cpp | 705 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local 719 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout() 1070 string getShaderName (const BufferBlock& block, int instanceNdx, const BufferVar& var, const glu::T… in getShaderName() argument 1079 name << "[" << instanceNdx << "]"; in getShaderName() 1084 DE_ASSERT(instanceNdx == 0); in getShaderName() 1119 int instanceNdx, in generateCompareSrc() argument 1128 …tArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getA… in generateCompareSrc() 1131 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc() 1138 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc() 1150 const string shaderName = getShaderName(block, instanceNdx, bufVar, accessPath.getPath()); in generateCompareSrc() [all …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 863 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local 864 inValues[instanceNdx] = rnd.getUint32(); in iterate() 886 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local 888 gl.bindBuffer(bufTarget, buffers[instanceNdx]); in iterate() 889 …gl.bufferData(bufTarget, (glw::GLsizeiptr)sizeof(deUint32), &inValues[instanceNdx], GL_STATIC_DRAW… in iterate() 890 gl.bindBufferBase(bufTarget, baseBinding+instanceNdx, buffers[instanceNdx]); in iterate()
|
D | es31fFboTestUtil.cpp | 209 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 210 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 377 …const tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexN… in shadeVertices() 380 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
|
D | es31fGeometryShaderTests.cpp | 238 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 240 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices() 345 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 347 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices() 471 …const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[nd… in shadeVertices() 473 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 829 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 831 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices() 964 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices() 966 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fInstancedRenderingTests.cpp | 561 for (int instanceNdx = 0; instanceNdx < m_numInstances; instanceNdx++) in computeReference() local 563 int xStart = instanceNdx * wid / m_numInstances; in computeReference() 564 int xEnd = (instanceNdx + 1) * wid / m_numInstances; in computeReference() 568 … = m_instancingType == TYPE_ATTRIB_DIVISOR ? instanceNdx / ATTRIB_DIVISOR_R : instanceNdx; in computeReference() 569 …PE_ATTRIB_DIVISOR || m_instancingType == TYPE_MIXED ? instanceNdx / ATTRIB_DIVISOR_G : instanceNdx; in computeReference() 570 …PE_ATTRIB_DIVISOR || m_instancingType == TYPE_MIXED ? instanceNdx / ATTRIB_DIVISOR_B : instanceNdx; in computeReference()
|
D | es3fFboTestUtil.cpp | 117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 202 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 203 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 366 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 367 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 517 …tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).x… in shadeVertices() 520 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 627 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 628 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices() 735 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 108 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 109 readVertexAttrib(color0, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 110 readVertexAttrib(color1, inputs[2], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 145 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 146 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.hpp | 256 , instanceNdx (-1) in BlockLayoutEntry() 265 int instanceNdx; member 281 , instanceNdx (0) in UniformLayoutEntry() 296 int instanceNdx; member 306 int getBlockLayoutIndex (int blockDeclarationNdx, int instanceNdx) const;
|
D | vktUniformBlockCase.cpp | 195 int UniformLayout::getBlockLayoutIndex (int blockNdx, int instanceNdx) const in getBlockLayoutIndex() 200 blocks[ndx].instanceNdx == instanceNdx) in getBlockLayoutIndex() 714 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local 724 blockEntry.instanceNdx = instanceNdx; in computeReferenceLayout() 731 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout() 1548 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local 1553 std::string indexStr = de::toString(instanceNdx); in generateCompareSrc() 1561 int blockLayoutNdx = layout.getBlockLayoutIndex(blockNdx, instanceNdx); in generateCompareSrc() 1902 …vk::DescriptorSetUpdateBuilder::Location::bindingArrayElement(block.bindingNdx, block.instanceNdx), in iterate() 1944 …vk::DescriptorSetUpdateBuilder::Location::bindingArrayElement(block.bindingNdx, block.instanceNdx), in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.hpp | 257 , instanceNdx (-1) in BlockLayoutEntry() 270 int instanceNdx; member 285 , instanceNdx (0) in InterfaceLayoutEntry() 298 int instanceNdx; member 311 int getBlockLayoutIndex (int blockDeclarationNdx, int instanceNdx) const;
|
D | vktTransformFeedbackFuzzLayoutCase.cpp | 166 << ", instanceNdx = " << entry.instanceNdx in operator <<() 230 int InterfaceLayout::getBlockLayoutIndex (int blockNdx, int instanceNdx) const in getBlockLayoutIndex() 234 if (blocks[ndx].blockDeclarationNdx == blockNdx && blocks[ndx].instanceNdx == instanceNdx) in getBlockLayoutIndex() 796 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeXfbLayout() local 802 const int xfbBuffer = xfbFirstInstanceBuffer + instanceNdx; in computeXfbLayout() 814 blockEntry.instanceNdx = instanceNdx; in computeXfbLayout() 826 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeXfbLayout() 1482 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateAssignment() local 1484 …std::string instancePostfix = isArray ? std::string("[") + de::toString(instanceNdx) + "]" : std… in generateAssignment() 1487 int blockLayoutNdx = layout.getBlockLayoutIndex(blockNdx, instanceNdx); in generateAssignment()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1953 for (size_t instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local 2112 for (deUint32 instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local 2157 …nStructure->addInstance(m_bottomAccelerationStructures.back(), identityMatrix3x4, instanceNdx + 1); in initAccelerationStructures() 2272 for (deUint32 instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local 2312 …nStructure->addInstance(m_bottomAccelerationStructures.back(), identityMatrix3x4, instanceNdx + 1); in initAccelerationStructures() 2396 for (deUint32 instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local 2436 …nStructure->addInstance(m_bottomAccelerationStructures.back(), identityMatrix3x4, instanceNdx + 1); in initAccelerationStructures() 2549 for (deUint32 instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local 2589 …nStructure->addInstance(m_bottomAccelerationStructures.back(), identityMatrix3x4, instanceNdx + 1); in initAccelerationStructures() 2708 for (deUint32 instanceNdx = 0; instanceNdx < instancesGroupCount; ++instanceNdx) in initAccelerationStructures() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBuildTests.cpp | 279 for (size_t instanceNdx = 0; instanceNdx < bottomLevelAccelerationStructures.size(); ++instanceNdx) in initTopAccelerationStructure() local 281 …testType == TEST_TYPE_TRIANGLES) || (m_data.testType == TEST_TYPE_MIXED && (instanceNdx & 1) == 0); in initTopAccelerationStructure() 284 …result->addInstance(bottomLevelAccelerationStructures[instanceNdx], vk::identityMatrix3x4, 0, 0xFF… in initTopAccelerationStructure() 364 for (size_t instanceNdx = 0; instanceNdx < m_data.instancesGroupCount; ++instanceNdx) in initBottomAccelerationStructures() local 366 …testType == TEST_TYPE_TRIANGLES) || (m_data.testType == TEST_TYPE_MIXED && (instanceNdx & 1) == 0); in initBottomAccelerationStructures()
|
D | vktRayTracingMemGuaranteeTests.cpp | 606 for (size_t instanceNdx = 0; instanceNdx < m_data.instancesGroupCount; ++instanceNdx) in initBottomAccelerationStructures() local
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 206 for (int instanceNdx = 0; instanceNdx < numInstances; ++instanceNdx) in drawReferenceImage() local 208 const Vec2 offset = perInstanceOffset[instanceNdx] + perDrawOffset[drawNdx]; in drawReferenceImage() 209 const Vec4& color = allColors[isMultiDraw() ? drawNdx : instanceNdx]; in drawReferenceImage()
|
D | vktDrawInstancedTests.cpp | 178 const int instanceNdx = packets[packetNdx]->instanceNdx + m_firstInstance; in shadeVertices() local 179 …const tcu::Vec4 position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, … in shadeVertices() 180 …const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instanceNdx, pa… in shadeVertices() 181 …const tcu::Vec4 color2 = rr::readVertexAttribFloat(inputs[2], packets[packetNdx]->instanceNdx, p… in shadeVertices() 182 …packets[packetNdx]->position = position + tcu::Vec4((float)(packets[packetNdx]->instanceNdx * 2.0 … in shadeVertices() 183 …packets[packetNdx]->outputs[0] = color + tcu::Vec4((float)instanceNdx / (float)m_numInstances, 0.0… in shadeVertices()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkRayTracingUtil.cpp | 1665 for (size_t instanceNdx = 0; instanceNdx < bottomLevelInstances.size(); ++instanceNdx) in updateInstanceBuffer() local 1667 const auto& blas = *bottomLevelInstances[instanceNdx]; in updateInstanceBuffer() 1668 …updateSingleInstance(vk, device, blas, instanceData[instanceNdx], bufferStart + bufferOffset, buil… in updateInstanceBuffer() 2349 for (size_t instanceNdx = 0; instanceNdx < m_bottomLevelInstances.size(); ++instanceNdx) in getSerializingAddresses() local 2351 …velAccelerationStructure& bottomLevelAccelerationStructure = *m_bottomLevelInstances[instanceNdx]; in getSerializingAddresses() 2357 … result[instanceNdx+1] = vk.getAccelerationStructureDeviceAddressKHR(device, &asDeviceAddressInfo); in getSerializingAddresses() 2361 result[instanceNdx+1] = deUint64(accelerationStructureKHR.getInternal()); in getSerializingAddresses() 2391 for (size_t instanceNdx = 0; instanceNdx < m_bottomLevelInstances.size(); ++instanceNdx) in prepareInstances() local 2394 …currentInstance.deviceAddress = firstInstance.deviceAddress + instanceNdx * sizeof(VkAccelerationS… in prepareInstances() 2417 for (size_t instanceNdx = 0; instanceNdx < m_bottomLevelInstances.size(); ++instanceNdx) in prepareInstances() local [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 575 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeStd140Layout() local 589 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeStd140Layout() 1000 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local 1002 …std::string instancePostfix = isArray ? string("[") + de::toString(instanceNdx) + "]" : string("… in generateCompareSrc() 1696 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in compareTypes() local 1702 instanceName << "[" << instanceNdx << "]"; in compareTypes()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 604 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeStd140Layout() local 618 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeStd140Layout() 1074 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local 1076 …std::string instancePostfix = isArray ? string("[") + de::toString(instanceNdx) + "]" : string("… in generateCompareSrc() 1743 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in compareTypes() local 1749 instanceName << "[" << instanceNdx << "]"; in compareTypes()
|