Home
last modified time | relevance | path

Searched refs:elementIndex (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.cpp258 for (size_t elementIndex = 0; elementIndex < inputElementCount; ++elementIndex) in createInputLayout() local
264 inputElements[elementIndex].InputSlotClass = D3D11_INPUT_PER_INSTANCE_DATA; in createInputLayout()
265 inputElements[elementIndex].InstanceDataStepRate = 1; in createInputLayout()
266 if (numIndicesPerInstance > 0 && currentAttributes[elementIndex]->divisor > 0) in createInputLayout()
268 inputElements[elementIndex].InstanceDataStepRate = numIndicesPerInstance; in createInputLayout()
271 inputElements[elementIndex].InputSlot++; in createInputLayout()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.cpp258 for (size_t elementIndex = 0; elementIndex < inputElementCount; ++elementIndex) in createInputLayout() local
264 inputElements[elementIndex].InputSlotClass = D3D11_INPUT_PER_INSTANCE_DATA; in createInputLayout()
265 inputElements[elementIndex].InstanceDataStepRate = 1; in createInputLayout()
266 if (numIndicesPerInstance > 0 && currentAttributes[elementIndex]->divisor > 0) in createInputLayout()
268 inputElements[elementIndex].InstanceDataStepRate = numIndicesPerInstance; in createInputLayout()
271 inputElements[elementIndex].InputSlot++; in createInputLayout()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateOutputs.cpp117 for (size_t elementIndex = 0; elementIndex < elementCount; elementIndex++) in validate() local
119 const size_t offsetLocation = location + elementIndex; in validate()
DValidateVaryingLocations.cpp148 for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) in MarkVaryingLocations() local
150 const int offsetLocation = location + elementIndex; in MarkVaryingLocations()
DStructureHLSL.cpp95 int GetElementPadding(int elementIndex, int alignment) in GetElementPadding() argument
97 const int paddingOffset = elementIndex % alignment; in GetElementPadding()
665 mStd140StructElementIndexes[structName] = padHelper.elementIndex(); in storeStd140ElementIndex()
DStructureHLSL.h34 int elementIndex() const { return mElementIndex; } in elementIndex() function
DOutputSPIRV.cpp1210 for (unsigned int elementIndex = 0; elementIndex < type.getOutermostArraySize(); in createConstant() local
1211 ++elementIndex) in createConstant()
4350 for (unsigned int elementIndex = 0; elementIndex < valueType.getOutermostArraySize(); in cast() local
4351 ++elementIndex) in cast()
4355 elementId, value, {spirv::LiteralInteger(elementIndex)}); in cast()
4519 for (unsigned int elementIndex = 0; elementIndex < operandType.getOutermostArraySize(); in createCompareImpl() local
4520 ++elementIndex) in createCompareImpl()
4523 currentAccessChain->back() = spirv::LiteralInteger(elementIndex); in createCompareImpl()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DValidateOutputs.cpp117 for (size_t elementIndex = 0; elementIndex < elementCount; elementIndex++) in validate() local
119 const size_t offsetLocation = location + elementIndex; in validate()
DValidateVaryingLocations.cpp81 for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) in ValidateShaderInterface() local
83 const int offsetLocation = location + elementIndex; in ValidateShaderInterface()
DStructureHLSL.h34 int elementIndex() const { return mElementIndex; } in elementIndex() function
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.cpp78 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in FindUsedOutputLocation() local
80 const unsigned int location = baseLocation + elementIndex; in FindUsedOutputLocation()
83 VariableLocation locationInfo(elementIndex, variableIndex); in FindUsedOutputLocation()
105 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in AssignOutputLocations() local
107 VariableLocation locationInfo(elementIndex, variableIndex); in AssignOutputLocations()
112 const unsigned int location = baseLocation + elementIndex; in AssignOutputLocations()
476 for (size_t elementIndex = 0; elementIndex < elementCount; ++elementIndex) in load() local
478 imageBinding.boundImageUnits[elementIndex] = stream->readInt<unsigned int>(); in load()
1224 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in linkValidateOutputVariables() local
1226 const unsigned int location = baseLocation + elementIndex; in linkValidateOutputVariables()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_constants.cpp320 for (size_t elementIndex = 2; elementIndex < instruction.size(); in IsTypeNullable() local
321 ++elementIndex) { in IsTypeNullable()
322 auto element = _.FindDef(instruction[elementIndex]); in IsTypeNullable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp320 for (size_t elementIndex = 2; elementIndex < instruction.size(); in IsTypeNullable() local
321 ++elementIndex) { in IsTypeNullable()
322 auto element = _.FindDef(instruction[elementIndex]); in IsTypeNullable()
/third_party/spirv-tools/source/val/
Dvalidate_constants.cpp320 for (size_t elementIndex = 2; elementIndex < instruction.size(); in IsTypeNullable() local
321 ++elementIndex) { in IsTypeNullable()
322 auto element = _.FindDef(instruction[elementIndex]); in IsTypeNullable()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DSliceMemoryManager.cs51 public override MemoryHandle Pin(int elementIndex = 0) in Pin() argument
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dutils.h261 T operator[](size_t elementIndex) const
263 size_t word = m_words[elementIndex / ELEMENTS_PER_WORD];
264 word >>= ((elementIndex % ELEMENTS_PER_WORD) * BitsPerElementT);
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp969 for (GLushort elementIndex = 0; elementIndex < 6; ++elementIndex) in TEST_P() local
971 kElementsData[quadIndex * 6 + elementIndex] = quadIndices[elementIndex] + 4 * quadIndex; in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp1094 for (GLushort elementIndex = 0; elementIndex < 6; ++elementIndex) in TEST_P() local
1096 kElementsData[quadIndex * 6 + elementIndex] = quadIndices[elementIndex] + 4 * quadIndex; in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgram.cpp3980 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in FindUsedOutputLocation() local
3982 const unsigned int location = baseLocation + elementIndex; in FindUsedOutputLocation()
3985 VariableLocation locationInfo(elementIndex, variableIndex); in FindUsedOutputLocation()
4006 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in AssignOutputLocations() local
4008 VariableLocation locationInfo(elementIndex, variableIndex); in AssignOutputLocations()
4012 const unsigned int location = baseLocation + elementIndex; in AssignOutputLocations()
4050 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in linkOutputVariables() local
4052 const unsigned int location = baseLocation + elementIndex; in linkOutputVariables()
4288 for (unsigned int elementIndex = 0; in setUniformValuesFromBindingQualifiers() local
4289 elementIndex < samplerUniform.getBasicTypeElementCount(); ++elementIndex) in setUniformValuesFromBindingQualifiers()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp829 const deUint32 elementIndex = valueNdx / (numScalarsPerVertex * m_numVertices); // instance id in verifyResult() local
834 …inBufferValueIndex = (elementIndex * numChannels) + (valueNdx % numScalarsPerVertex) - (2 * numCha… in verifyResult()
841 const deUint32 elementIndex = valueNdx / numScalarsPerVertex; // vertex id in verifyResult() local
846 …inBufferValueIndex = (getIndex(elementIndex) * (numChannels * 2)) + (valueNdx % numScalarsPerVerte… in verifyResult()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp88 …UniformBlock::UniformBlock(const std::string &name, unsigned int elementIndex, unsigned int dataSi… in UniformBlock() argument
89 …name(name), elementIndex(elementIndex), dataSize(dataSize), memberUniformIndexes(memberUniformInde… in UniformBlock()
110 return elementIndex != GL_INVALID_INDEX; in isArrayElement()
462 const bool arrayElementZero = (subscript == GL_INVALID_INDEX && uniformBlock.elementIndex == 0); in getUniformBlockIndex()
463 if(subscript == uniformBlock.elementIndex || arrayElementZero) in getUniformBlockIndex()
2897 std::ostringstream elementIndex; in getActiveUniformBlockName() local
2898 elementIndex << uniformBlock.elementIndex; in getActiveUniformBlockName()
2899 string += "[" + elementIndex.str() + "]"; in getActiveUniformBlockName()
DProgram.h78 …UniformBlock(const std::string &name, unsigned int elementIndex, unsigned int dataSize, std::vecto…
87 const unsigned int elementIndex; member
/third_party/spirv-tools/source/opt/
Dscalar_replacement_pass.cpp284 uint32_t elementIndex = 0; in ReplaceWholeStore() local
288 elementIndex++; in ReplaceWholeStore()
301 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {elementIndex++}}})); in ReplaceWholeStore()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dscalar_replacement_pass.cpp293 uint32_t elementIndex = 0; in ReplaceWholeStore() local
297 elementIndex++; in ReplaceWholeStore()
310 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {elementIndex++}}})); in ReplaceWholeStore()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.cpp293 uint32_t elementIndex = 0; in ReplaceWholeStore() local
297 elementIndex++; in ReplaceWholeStore()
310 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {elementIndex++}}})); in ReplaceWholeStore()

12