Home
last modified time | relevance | path

Searched refs:shaderNdx (Results 1 – 19 of 19) 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.cpp436 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program() local
438 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.variables.size(); ++varNdx) in ~Program()
439 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.variables[varNdx].varType); in ~Program()
441 …for (int interfaceNdx = 0; interfaceNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlock… in ~Program()
442 …for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceN… in ~Program()
443 …collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].… in ~Program()
450 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program() local
451 delete m_shaders[shaderNdx]; in ~Program()
490 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in getFirstStage() local
492 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()
802 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in traverseProgramVariablePath() local
804 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in traverseProgramVariablePath()
1290 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1292 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
1319 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1321 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
1359 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getProgramInterfaceResourceList() local
1361 const ProgramInterfaceDefinition::Shader* shader = program->getShaders()[shaderNdx]; in getProgramInterfaceResourceList()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp328 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in validate() local
330 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in validate()
1290 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in validate() local
1292 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in validate()
1807 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in isInterfaceBlockInterfaceName() local
1809 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in isInterfaceBlockInterfaceName()
1872 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in getInterfaceBlockInteraceNameByMember() local
1874 const ProgramInterfaceDefinition::Shader* const shader = program->getShaders()[shaderNdx]; in getInterfaceBlockInteraceNameByMember()
2737 for (int shaderNdx = 0; shaderNdx < (int)program->getShaders().size(); ++shaderNdx) in checkProgramResourceUsage() local
2738 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.cpp561 const int shaderNdx = executionNdx % (int)m_pipelineInfo.size(); in runThread() local
564 …Pipeline> pipeline = createComputePipeline(vk,device,m_pipelineCache, &m_pipelineInfo[shaderNdx]); in runThread()
566 …ext, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_shadersExecutions[shaderNdx]); in runThread()
591 const int shaderNdx = executionNdx % (int)m_pipelineInfo.size(); in runThread() local
594 …peline> pipeline = createGraphicsPipeline(vk,device, m_pipelineCache, &m_pipelineInfo[shaderNdx]); in runThread()
596 …, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_renderPass, m_shadersExecutions[shaderNdx]); in runThread()
666 for (int shaderNdx = 0; shaderNdx < static_cast<int>(m_shadersExecutions.size()); ++shaderNdx) in addShaderModules() local
669 shaderName<<"compute_"<<shaderNdx; in addShaderModules()
670 …shaderCompModules[shaderNdx] = SharedPtr<Unique<VkShaderModule> > (new Unique<VkShaderModule>(crea… in addShaderModules()
686 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.cpp561 for (deUint32 shaderNdx = 0; shaderNdx < m_program.shaders.size(); ++shaderNdx) in VulkanDrawContext() local
563 …m_shaderModules[shaderNdx] = createShaderModule(vk, device, *m_program.shaders[shaderNdx].binary, … in VulkanDrawContext()
565 stageFlags |= m_program.shaders[shaderNdx].stage; in VulkanDrawContext()
567 switch(m_program.shaders[shaderNdx].stage) in VulkanDrawContext()
570 vertShader = *m_shaderModules[shaderNdx]; in VulkanDrawContext()
573 tessControlShader = *m_shaderModules[shaderNdx]; in VulkanDrawContext()
576 tessEvalShader = *m_shaderModules[shaderNdx]; in VulkanDrawContext()
579 geomShader = *m_shaderModules[shaderNdx]; in VulkanDrawContext()
582 DE_ASSERT(m_program.shaders[shaderNdx].stage == VK_SHADER_STAGE_FRAGMENT_BIT); in VulkanDrawContext()
583 fragShader = *m_shaderModules[shaderNdx]; in VulkanDrawContext()
/external/deqp/executor/tools/
DxeExtractShaderPrograms.cpp72 for (int shaderNdx = 0; shaderNdx < shaderProgram.shaders.getNumItems(); shaderNdx++) in writeShaderProgram() local
74 …i::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(shaderNdx)); in writeShaderProgram()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp716 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests() local
718 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests()
853 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests() local
855 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
DvktProtectedMemYCbCrConversionTests.cpp1400 for (size_t shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderNdx++) in createYCbCrConversionTests() local
1402 const char* shaderTypeName = shaderTypes[shaderNdx].name; in createYCbCrConversionTests()
1439 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/pipeline/
DvktPipelineCacheTests.cpp633 for (deUint32 shaderNdx = 0; shaderNdx < m_param.getShaderCount(); shaderNdx++) in initPrograms() local
635 switch(m_param.getShaderFlag(shaderNdx)) in initPrograms()
898 for (deUint32 shaderNdx = 0; shaderNdx < m_param->getShaderCount(); shaderNdx++) in GraphicsCacheTestInstance() local
900 switch(m_param->getShaderFlag(shaderNdx)) in GraphicsCacheTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp1920 for(int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(localSize); ++shaderNdx) in QueryPoolStatisticsTest() local
1923 shaderName<< "compute_" << shaderNdx; in QueryPoolStatisticsTest()
1926 localSize[shaderNdx], in QueryPoolStatisticsTest()
1927 groupSize[shaderNdx], in QueryPoolStatisticsTest()
1953 for(size_t shaderNdx = 0; shaderNdx < m_parameters.size(); ++shaderNdx) in initPrograms() local
1957 …ameters[shaderNdx].localSize.x() << ", local_size_y = " << m_parameters[shaderNdx].localSize.y() <… in initPrograms()
1959 …sourceCollections.glslSources.add(m_parameters[shaderNdx].shaderName) << glu::ComputeSource(src.st… in initPrograms()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp6949 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup() local
6951 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup()
6969 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup16Bit() local
6971 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup16Bit()
6986 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup16BitStorage32Bit() local
6988 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup16BitStorage32Bit()
/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.cpp369 …r<EntryToStage>::const_iterator shaderNdx = moduleNdx->second.begin(); shaderNdx != moduleNdx->sec… in createPipelineShaderStages() local
371 const EntryToStage& stage = *shaderNdx; in createPipelineShaderStages()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp5530 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup() local
5532 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup()