Home
last modified time | relevance | path

Searched refs:instanceNdx (Results 1 – 25 of 52) sorted by relevance

123

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.hpp151 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()
DrrVertexAttrib.cpp491 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()
DrrVertexPacket.hpp56 int instanceNdx; //!< Instance index. member
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp748 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local
762 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout()
1264 string getShaderName (const BufferBlock& block, int instanceNdx, const BufferVar& var, const glu::T… in getShaderName() argument
1273 name << "[" << instanceNdx << "]"; in getShaderName()
1278 DE_ASSERT(instanceNdx == 0); in getShaderName()
1313 int instanceNdx, in generateCompareSrc() argument
1323 …tArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getA… in generateCompareSrc()
1326 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1333 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1345 const string shaderName = getShaderName(block, instanceNdx, bufVar, accessPath.getPath()); in generateCompareSrc()
[all …]
DvktSSBOLayoutCase.hpp104 …int getLastUnsizedArraySize (int instanceNdx) const { return m_lastUnsizedArraySizes[instanc… in getLastUnsizedArraySize()
105 …void setLastUnsizedArraySize (int instanceNdx, int size) { m_lastUnsizedArraySizes[instanceNdx in setLastUnsizedArraySize() argument
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp710 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local
724 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout()
1075 string getShaderName (const BufferBlock& block, int instanceNdx, const BufferVar& var, const glu::T… in getShaderName() argument
1084 name << "[" << instanceNdx << "]"; in getShaderName()
1089 DE_ASSERT(instanceNdx == 0); in getShaderName()
1124 int instanceNdx, in generateCompareSrc() argument
1133 …tArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getA… in generateCompareSrc()
1136 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1143 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1155 const string shaderName = getShaderName(block, instanceNdx, bufVar, accessPath.getPath()); in generateCompareSrc()
[all …]
Des31fSSBOLayoutCase.hpp100 …int getLastUnsizedArraySize (int instanceNdx) const { return m_lastUnsizedArraySizes[instanc… in getLastUnsizedArraySize()
101 …void setLastUnsizedArraySize (int instanceNdx, int size) { m_lastUnsizedArraySizes[instanceNdx in setLastUnsizedArraySize() argument
Des31fOpaqueTypeIndexingTests.cpp855 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local
856 inValues[instanceNdx] = rnd.getUint32(); in iterate()
878 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local
880 gl.bindBuffer(bufTarget, buffers[instanceNdx]); in iterate()
881 …gl.bufferData(bufTarget, (glw::GLsizeiptr)sizeof(deUint32), &inValues[instanceNdx], GL_STATIC_DRAW… in iterate()
882 gl.bindBufferBase(bufTarget, baseBinding+instanceNdx, buffers[instanceNdx]); in iterate()
Des31fFboTestUtil.cpp209 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()
Des31fGeometryShaderTests.cpp229 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
231 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
336 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
338 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
462 …const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[nd… in shadeVertices()
464 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
820 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
822 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
955 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
957 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
[all …]
Des31fSSBOLayoutTests.cpp166 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock() local
169 block.setLastUnsizedArraySize(instanceNdx, arrSize); in generateBlock()
/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp561 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()
Des3fFboTestUtil.cpp117 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 …]
Des3fDepthTests.cpp94 …]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packet… in shadeVertices()
Des3fDrawTests.cpp616 …inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx) + rr::readVertexAttribFloat(inputs[… in shadeVertices()
617 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[2], packets[ndx]->instanceNdx, packets… in shadeVertices()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.hpp254 , instanceNdx (-1) in BlockLayoutEntry()
263 int instanceNdx; member
279 , instanceNdx (0) in UniformLayoutEntry()
294 int instanceNdx; member
304 int getBlockLayoutIndex (int blockDeclarationNdx, int instanceNdx) const;
DvktUniformBlockCase.cpp194 int UniformLayout::getBlockLayoutIndex (int blockNdx, int instanceNdx) const in getBlockLayoutIndex()
199 blocks[ndx].instanceNdx == instanceNdx) in getBlockLayoutIndex()
719 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local
729 blockEntry.instanceNdx = instanceNdx; in computeReferenceLayout()
736 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout()
1581 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local
1583 …std::string instancePostfix = isArray ? std::string("[") + de::toString(instanceNdx) + "]" : std… in generateCompareSrc()
1586 int blockLayoutNdx = layout.getBlockLayoutIndex(blockNdx, instanceNdx); in generateCompareSrc()
1925 …vk::DescriptorSetUpdateBuilder::Location::bindingArrayElement(block.bindingNdx, block.instanceNdx), in iterate()
1967 …vk::DescriptorSetUpdateBuilder::Location::bindingArrayElement(block.bindingNdx, block.instanceNdx), in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.hpp70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
105 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
106 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderDrawParametersTests.cpp250 for (int instanceNdx = 0; instanceNdx < numInstances; ++instanceNdx) in drawReferenceImage() local
252 const Vec2 offset = perInstanceOffset[instanceNdx] + perDrawOffset[drawNdx]; in drawReferenceImage()
253 const Vec4& color = allColors[isMultiDraw() ? drawNdx : instanceNdx]; in drawReferenceImage()
DvktDrawInstancedTests.cpp172 const int instanceNdx = packets[packetNdx]->instanceNdx + m_firstInstance; in shadeVertices() local
173 …const tcu::Vec4 position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, … in shadeVertices()
174 …const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instanceNdx, pa… in shadeVertices()
175 …const tcu::Vec4 color2 = rr::readVertexAttribFloat(inputs[2], packets[packetNdx]->instanceNdx, p… in shadeVertices()
176 …packets[packetNdx]->position = position + tcu::Vec4((float)(packets[packetNdx]->instanceNdx * 2.0 … in shadeVertices()
177 …packets[packetNdx]->outputs[0] = color + tcu::Vec4((float)instanceNdx / (float)m_numInstances, 0.0… in shadeVertices()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp580 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeStd140Layout() local
594 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeStd140Layout()
1005 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local
1007 …std::string instancePostfix = isArray ? string("[") + de::toString(instanceNdx) + "]" : string("… in generateCompareSrc()
1701 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in compareTypes() local
1707 instanceName << "[" << instanceNdx << "]"; in compareTypes()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp603 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeStd140Layout() local
617 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeStd140Layout()
1071 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local
1073 …std::string instancePostfix = isArray ? string("[") + de::toString(instanceNdx) + "]" : string("… in generateCompareSrc()
1740 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in compareTypes() local
1746 instanceName << "[" << instanceNdx << "]"; in compareTypes()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp143 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
144 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
203 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
204 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
285 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
286 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fDepthTests.cpp91 …]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packet… in shadeVertices()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1431 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in createShaderSpec() local
1432 m_inValues[instanceNdx] = rnd.getUint32(); in createShaderSpec()

123