Home
last modified time | relevance | path

Searched refs:shaderNdx (Results 1 – 22 of 22) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp370 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(s_shaders); ++shaderNdx) in bitfield_extract_invalid_value_type() local
372 if (ctx.isShaderSupported(s_shaders[shaderNdx])) in bitfield_extract_invalid_value_type()
374 ctx.beginSection("Verify shader: " + std::string(getShaderTypeName(s_shaders[shaderNdx]))); in bitfield_extract_invalid_value_type()
377 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_floatTy… in bitfield_extract_invalid_value_type()
378 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_value_type()
391 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(s_shaders); ++shaderNdx) in bitfield_extract_invalid_offset_type() local
393 if (ctx.isShaderSupported(s_shaders[shaderNdx])) in bitfield_extract_invalid_offset_type()
395 ctx.beginSection("Verify shader: " + std::string(getShaderTypeName(s_shaders[shaderNdx]))); in bitfield_extract_invalid_offset_type()
401 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_intType… in bitfield_extract_invalid_offset_type()
402 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_offset_type()
[all …]
Des31fProgramInterfaceDefinition.cpp442 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program() local
444 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.variables.size(); ++varNdx) in ~Program()
445 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.variables[varNdx].varType); in ~Program()
447 …for (int interfaceNdx = 0; interfaceNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlock… in ~Program()
448 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceN… in ~Program()
449 …collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].… in ~Program()
456 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program() local
457 delete m_shaders[shaderNdx]; in ~Program()
496 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in getFirstStage() local
498 const int index = getShaderStageIndex(m_shaders[shaderNdx]->getType()); in getFirstStage()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp130 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in programContainsIOBlocks() local
132 if (shaderContainsIOBlocks(program->getShaders()[shaderNdx])) in programContainsIOBlocks()
829 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in traverseProgramVariablePath() local
831 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in traverseProgramVariablePath()
1317 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1319 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
1346 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1348 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
1386 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1388 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp329 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in validate() local
331 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in validate()
1291 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in validate() local
1293 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in validate()
1808 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in isInterfaceBlockInterfaceName() local
1810 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in isInterfaceBlockInterfaceName()
1873 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getInterfaceBlockInteraceNameByMember() local
1875 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in getInterfaceBlockInteraceNameByMember()
2743 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in checkProgramResourceUsage() local
2744 limitExceeded |= !checkShaderResourceUsage(program, program->getShaders()[shaderNdx], gl, log); in checkProgramResourceUsage()
/external/deqp/framework/opengl/
DgluShaderProgram.cpp400 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx) in init() local
402 const char* source = sources.sources[shaderType][shaderNdx].c_str(); in init()
403 const int length = (int)sources.sources[shaderType][shaderNdx].size(); in init()
418 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in init() local
419 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader()); in init()
443 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in init() local
444 delete m_shaders[shaderType][shaderNdx]; in init()
479 for (deUint32 shaderNdx = 0; shaderNdx < shaders.size(); ++shaderNdx) in init() local
481 shaders[shaderNdx]->specialize(shaderBinary.shaderEntryPoints[shaderNdx].c_str(), in init()
486 shadersOk = shadersOk && shaders[shaderNdx]->getCompileStatus(); in init()
[all …]
DgluShaderProgram.hpp202 …etShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][ in getShader() argument
204 …haderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][ in getShaderInfo() argument
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp563 const int shaderNdx = executionNdx % (int)m_pipelineInfo.size(); in runThread() local
566 …Pipeline> pipeline = createComputePipeline(vk,device,m_pipelineCache, &m_pipelineInfo[shaderNdx]); in runThread()
568 …ext, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_shadersExecutions[shaderNdx]); in runThread()
593 const int shaderNdx = executionNdx % (int)m_pipelineInfo.size(); in runThread() local
596 …peline> pipeline = createGraphicsPipeline(vk,device, m_pipelineCache, &m_pipelineInfo[shaderNdx]); in runThread()
598 …, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_renderPass, m_shadersExecutions[shaderNdx]); in runThread()
668 for (int shaderNdx = 0; shaderNdx < static_cast<int>(m_shadersExecutions.size()); ++shaderNdx) in addShaderModules() local
671 shaderName<<"compute_"<<shaderNdx; in addShaderModules()
672 …shaderCompModules[shaderNdx] = SharedPtr<Unique<VkShaderModule> > (new Unique<VkShaderModule>(crea… in addShaderModules()
688 for (int shaderNdx = 0; shaderNdx < static_cast<int>(m_shadersExecutions.size()); ++shaderNdx) in addShaderStageInfo() local
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderProgram.cpp63 for (size_t shaderNdx = 0; shaderNdx < sources[shaderType].size(); shaderNdx++) in logShader() local
66 sources[shaderType][shaderNdx], in logShader()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp518 for (deUint32 shaderNdx = 0; shaderNdx < vulkanProgram.shaders.size(); ++shaderNdx) in registerDrawObject() local
520 …object->shaderModules[shaderNdx] = createShaderModule(vk, device, *vulkanProgram.shaders[shaderNdx in registerDrawObject()
522 stageFlags |= vulkanProgram.shaders[shaderNdx].stage; in registerDrawObject()
524 switch (vulkanProgram.shaders[shaderNdx].stage) in registerDrawObject()
527 vertShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
530 tessControlShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
533 tessEvalShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
536 geomShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
539 DE_ASSERT(vulkanProgram.shaders[shaderNdx].stage == VK_SHADER_STAGE_FRAGMENT_BIT); in registerDrawObject()
540 fragShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
/external/deqp/executor/tools/
DxeExtractShaderPrograms.cpp79 for (int shaderNdx = 0; shaderNdx < shaderProgram.shaders.getNumItems(); shaderNdx++) in writeShaderProgram() local
81 …i::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(shaderNdx)); in writeShaderProgram()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp608 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in initPrograms() local
610 switch(m_param.getShaderFlag(shaderNdx)) in initPrograms()
726 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in checkSupport() local
728 switch(m_param.getShaderFlag(shaderNdx)) in checkSupport()
782 for (deUint32 shaderNdx = 0; shaderNdx < m_param->getShaderCount(); shaderNdx++) in GraphicsCacheTestInstance() local
784 switch(m_param->getShaderFlag(shaderNdx)) in GraphicsCacheTestInstance()
DvktPipelineExecutablePropertiesTests.cpp1096 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in initPrograms() local
1098 switch(m_param.getShaderFlag(shaderNdx)) in initPrograms()
1242 for (deUint32 shaderNdx = 0; shaderNdx < m_param->getShaderCount(); shaderNdx++) in GraphicsExecutablePropertiesTestInstance() local
1244 switch(m_param->getShaderFlag(shaderNdx)) in GraphicsExecutablePropertiesTestInstance()
DvktPipelineCacheTests.cpp656 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in initPrograms() local
658 switch(m_param.getShaderFlag(shaderNdx)) in initPrograms()
762 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in checkSupport() local
764 switch(m_param.getShaderFlag(shaderNdx)) in checkSupport()
941 for (deUint32 shaderNdx = 0; shaderNdx < m_param->getShaderCount(); shaderNdx++) in GraphicsCacheTestInstance() local
943 switch(m_param->getShaderFlag(shaderNdx)) in GraphicsCacheTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuildLargeTests.cpp185 std::string generateDummyWork (const deUint32 shaderNdx) const;
220 std::string RayTracingTestCase::generateDummyWork (const deUint32 shaderNdx) const in generateDummyWork()
224 for (deUint32 n = 0; n < shaderNdx % 256; ++n) in generateDummyWork()
260 const deUint32 shaderNdx = m_data.width * y + x; in initPrograms() local
261 const bool dummyWork = (shaderNdx % 43 == 0); in initPrograms()
272 << (dummyWork ? generateDummyWork(shaderNdx) : "") << in initPrograms()
276 …programCollection.glslSources.add("call" + de::toString(shaderNdx)) << glu::CallableSource(updateR… in initPrograms()
DvktRayTracingCaptureReplayTests.cpp355 for (deUint32 shaderNdx = 0; shaderNdx < RTCR_SHADER_COUNT; ++shaderNdx) in initRayTracingShaders() local
358 shaderName << "chit" << shaderNdx; in initRayTracingShaders()
359 …eShaderModule(vkd, device, context.getBinaryCollection().get(shaderName.str()), 0), 2 + shaderNdx); in initRayTracingShaders()
850 for (deUint32 shaderNdx = 0; shaderNdx < RTCR_SHADER_COUNT; ++shaderNdx) in initPrograms() local
852 deUint32 colorValue = 2 * (shaderNdx + 1); in initPrograms()
863 shaderName << "chit" << shaderNdx; in initPrograms()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp713 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests() local
715 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests()
850 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests() local
852 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
DvktProtectedMemYCbCrConversionTests.cpp1438 for (size_t shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderNdx++) in createYCbCrConversionTests() local
1440 const char* shaderTypeName = shaderTypes[shaderNdx].name; in createYCbCrConversionTests()
1477 const TestConfig config (shaderTypes[shaderNdx].type, in createYCbCrConversionTests()
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp222 for (size_t shaderNdx = 0; shaderNdx < buildInfo.shaders.size(); shaderNdx++) in writeBuildLogs() local
224 const glu::ShaderInfo& shaderInfo = buildInfo.shaders[shaderNdx]; in writeBuildLogs()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp2529 for(int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(localSize); ++shaderNdx) in QueryPoolStatisticsTest() local
2532 shaderName<< "compute_" << shaderNdx; in QueryPoolStatisticsTest()
2534 localSize[shaderNdx], in QueryPoolStatisticsTest()
2535 groupSize[shaderNdx], in QueryPoolStatisticsTest()
2563 for(size_t shaderNdx = 0; shaderNdx < m_parameters.size(); ++shaderNdx) in initPrograms() local
2567 …ameters[shaderNdx].localSize.x() << ", local_size_y = " << m_parameters[shaderNdx].localSize.y() <… in initPrograms()
2569 …sourceCollections.glslSources.add(m_parameters[shaderNdx].shaderName) << glu::ComputeSource(src.st… in initPrograms()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2373 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation() local
2375 …2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->getShader(shaderNdx); in addRandomOperation()
2381 definedShaderNdx = shaderNdx; in addRandomOperation()
2383 definedShaderNdx = shaderNdx; in addRandomOperation()
2390 vertexShaderNdx = shaderNdx; in addRandomOperation()
2392 vertexShaderNdx = shaderNdx; in addRandomOperation()
2399 fragmentShaderNdx = shaderNdx; in addRandomOperation()
2401 fragmentShaderNdx = shaderNdx; in addRandomOperation()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp445 …r<EntryToStage>::const_iterator shaderNdx = moduleNdx->second.begin(); shaderNdx != moduleNdx->sec… in createPipelineShaderStages() local
447 const EntryToStage& stage = *shaderNdx; in createPipelineShaderStages()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp5531 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup() local
5533 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup()