Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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 …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp345 …void getShaderSpec (ShaderSpec* spec, int numSamplers, int numLookups, const int* lookupInd…
398 void SamplerIndexingCase::getShaderSpec (ShaderSpec* spec, int numSamplers, int numLookups, const i… in getShaderSpec() argument
429 …"uniform highp " << getDataTypeName(m_samplerType) << " " << samplersName << "[" << numSamplers <<… in getShaderSpec()
492 const int numSamplers = 8; in iterate() local
501 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate()
502 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate()
508 lookupIndices[ndx] = rnd.getInt(0, numSamplers-1); in iterate()
510 …getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext(… in iterate()
533 TextureVector textures (renderCtx, numSamplers); in iterate()
547 for (int samplerNdx = 0; samplerNdx < numSamplers; samplerNdx++) in iterate()
Des31fProgramInterfaceDefinitionUtil.hpp122 int numSamplers; member
Des31fProgramInterfaceQueryTestCase.cpp2521 { GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2550 { GL_MAX_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2576 { GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2609 { GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2641 { GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
2671 { GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS, usage.numSamplers }, in checkShaderResourceUsage()
Des31fProgramInterfaceDefinitionUtil.cpp1757 …retVal.numSamplers = getNumTypeInstances(shader, glu::STORAGE_UNIFORM, glu::isDataTypeSampler… in getShaderResourceUsage()
/third_party/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp32 for (int i = 0 ; i < uniformHandler.numSamplers(); ++i) { in CreateSamplerManager()
274 if (fBindingVisibilities.count() != uniHandler->numSamplers()) { in isCompatible()
277 for (int i = 0; i < uniHandler->numSamplers(); ++i) { in isCompatible()
DGrVkUniformHandler.h121 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineState.cpp29 uint32_t numSamplers, in GrD3DPipelineState() argument
42 , fNumSamplers(numSamplers) in GrD3DPipelineState()
DGrD3DPipelineState.h35 uint32_t numSamplers,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp681 const int numSamplers = SamplerIndexingCaseInstance::NUM_SAMPLERS; in iterate() local
689 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate()
690 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate()
751 for (int ndx = 0; ndx < numSamplers; ++ndx) in iterate()
772 …{ 0u, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, (deUint32)numSamplers, VK_SHADER_STAGE_ALL,… in iterate()
773 …{ (deUint32)numSamplers, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u, VK_SHADER_STAGE_ALL, DE_NU… in iterate()
790 { VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, (deUint32)numSamplers }, in iterate()
820 vector<VkDescriptorImageInfo> imageInfos (numSamplers); in iterate()
828 (deUint32)numSamplers, in iterate()
835 for (int ndx = 0; ndx < numSamplers; ++ndx) in iterate()
[all …]
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.h79 int numSamplers() const { return fSamplers.count(); } in numSamplers() function
DGrMtlPipelineState.h44 uint32_t numSamplers,
DGrMtlPipelineState.mm46 uint32_t numSamplers,
54 , fNumSamplers(numSamplers)
DGrMtlPipelineStateBuilder.mm730 (uint32_t)fUniformHandler.numSamplers(),
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderCase.cpp242 int numSamplers = 0; in getNumSamplerUniforms() local
247 ++numSamplers; in getNumSamplerUniforms()
250 return numSamplers; in getNumSamplerUniforms()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpression.cpp1426 int numSamplers = 0; in countSamplers() local
1432 numSamplers += 1; in countSamplers()
1434 return numSamplers; in countSamplers()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp607 const int numSamplers = programD3D.getUsedSamplerRange(shaderType).length(); in updateBuffer() local
612 (mNumActiveShaderSamplers[shaderType] < numSamplers) || in updateBuffer()
619 const size_t samplerDataSize = sizeof(SamplerMetadata) * numSamplers; in updateBuffer()
627 mNumActiveShaderSamplers[shaderType] = numSamplers; in updateBuffer()
663 sizeof(SamplerMetadata) * numSamplers); in updateBuffer()