Home
last modified time | relevance | path

Searched refs:numSamplers (Results 1 – 23 of 23) sorted by relevance

/external/angle/src/tests/perf_tests/
DTextureSampling.cpp39 numSamplers = 2; in TextureSamplingParams()
45 unsigned int numSamplers; member
60 strstr << RenderTestParams::story() << "_" << numSamplers << "samplers"; in story()
97 if (params.numSamplers > static_cast<unsigned int>(maxTextureImageUnits)) in initializeBenchmark()
99 FAIL() << "Sampler count (" << params.numSamplers << ")" in initializeBenchmark()
127 for (unsigned int count = 0; count < params.numSamplers; count++) in initShaders()
137 for (unsigned int count = 0; count < params.numSamplers; count++) in initShaders()
210 mTextures.resize(params.numSamplers); in initTextures()
211 glGenTextures(params.numSamplers, mTextures.data()); in initTextures()
212 for (unsigned int i = 0; i < params.numSamplers; ++i) in initTextures()
[all …]
/external/skqp/src/gpu/effects/
DGrYUVtoRGBEffect.cpp103 int numSamplers = args.fTexSamplers.count(); in emitCode() local
106 for (int i = 0; i < numSamplers; ++i) { in emitCode()
110 for (int i = 0; i < numSamplers; ++i) { in emitCode()
/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.cpp37 for (int i = 0 ; i < uniformHandler.numSamplers(); ++i) { in CreateSamplerManager()
140 if (fBindingVisibilities.count() != uniHandler->numSamplers()) { in isCompatible()
143 for (int i = 0; i < uniHandler->numSamplers(); ++i) { in isCompatible()
DGrVkUniformHandler.h78 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp35 for (int i = 0 ; i < uniformHandler.numSamplers(); ++i) { in CreateSamplerManager()
245 if (fBindingVisibilities.count() != uniHandler->numSamplers()) { in isCompatible()
248 for (int i = 0; i < uniHandler->numSamplers(); ++i) { in isCompatible()
DGrVkUniformHandler.h86 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp345 …void getShaderSpec (ShaderSpec* spec, int numSamplers, int numLookups, const int* lookupInd…
395 void SamplerIndexingCase::getShaderSpec (ShaderSpec* spec, int numSamplers, int numLookups, const i… in getShaderSpec() argument
425 …"uniform highp " << getDataTypeName(m_samplerType) << " " << samplersName << "[" << numSamplers <<… in getShaderSpec()
488 const int numSamplers = 8; in iterate() local
497 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate()
498 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate()
504 lookupIndices[ndx] = rnd.getInt(0, numSamplers-1); in iterate()
506 …getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext(… in iterate()
529 TextureVector textures (renderCtx, numSamplers); in iterate()
543 for (int samplerNdx = 0; samplerNdx < numSamplers; samplerNdx++) in iterate()
Des31fProgramInterfaceDefinitionUtil.hpp122 int numSamplers; member
Des31fProgramInterfaceQueryTestCase.cpp2515 { GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2544 { GL_MAX_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2570 { GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2603 { GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2635 { GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2665 { GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
Des31fProgramInterfaceDefinitionUtil.cpp1730 …retVal.numSamplers = getNumTypeInstances(shader, glu::STORAGE_UNIFORM, glu::isDataTypeSampler… in getShaderResourceUsage()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp674 const int numSamplers = SamplerIndexingCaseInstance::NUM_SAMPLERS; in iterate() local
682 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate()
683 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate()
744 for (int ndx = 0; ndx < numSamplers; ++ndx) in iterate()
765 …{ 0u, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, (deUint32)numSamplers, VK_SHADER_STAGE_ALL,… in iterate()
766 …{ (deUint32)numSamplers, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u, VK_SHADER_STAGE_ALL, DE_NU… in iterate()
783 { VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, (deUint32)numSamplers }, in iterate()
813 vector<VkDescriptorImageInfo> imageInfos (numSamplers); in iterate()
821 (deUint32)numSamplers, in iterate()
828 for (int ndx = 0; ndx < numSamplers; ++ndx) in iterate()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlUniformHandler.h67 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
DGrMtlPipelineState.h42 uint32_t numSamplers,
DGrMtlPipelineState.mm42 uint32_t numSamplers,
53 , fNumSamplers(numSamplers)
DGrMtlPipelineStateBuilder.mm375 (uint32_t)fUniformHandler.numSamplers(),
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.h70 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
DGrMtlPipelineState.h41 uint32_t numSamplers,
DGrMtlPipelineState.mm41 uint32_t numSamplers,
50 , fNumSamplers(numSamplers)
DGrMtlPipelineStateBuilder.mm543 (uint32_t)fUniformHandler.numSamplers(),
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp242 int numSamplers = 0; in getNumSamplerUniforms() local
247 ++numSamplers; in getNumSamplerUniforms()
250 return numSamplers; in getNumSamplerUniforms()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp1607 deUint32 numSamplers = 0; in run() local
1668 numSamplers += arraySize; in run()
1687 numSamplers += arraySize; in run()
1700 if (numSamplers > limits.maxDescriptorSetSamplers) in run()
1724 numPerStageSamplers += numSamplers; in run()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1426 int numSamplers = 0; in countSamplers() local
1432 numSamplers += 1; in countSamplers()
1434 return numSamplers; in countSamplers()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp598 const int numSamplers = programD3D.getUsedSamplerRange(shaderType).length(); in updateBuffer() local
603 (mNumActiveShaderSamplers[shaderType] < numSamplers) || in updateBuffer()
610 const size_t samplerDataSize = sizeof(SamplerMetadata) * numSamplers; in updateBuffer()
618 mNumActiveShaderSamplers[shaderType] = numSamplers; in updateBuffer()
654 sizeof(SamplerMetadata) * numSamplers); in updateBuffer()