Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderBallotTests.cpp52 m_shaders[glu::SHADERTYPE_VERTEX].push_back("#version 450 core\n"); in ShaderPipeline()
53m_shaders[glu::SHADERTYPE_VERTEX].push_back(m_testedShader == glu::SHADERTYPE_VERTEX ? testedHeadP… in ShaderPipeline()
54 m_shaders[glu::SHADERTYPE_VERTEX].push_back("in highp vec2 inPosition;\n" in ShaderPipeline()
63m_shaders[glu::SHADERTYPE_VERTEX].push_back(m_testedShader == glu::SHADERTYPE_VERTEX ? testedConte… in ShaderPipeline()
65 m_shaders[glu::SHADERTYPE_VERTEX].push_back(" vsColor = outColor;\n" in ShaderPipeline()
70 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("#version 450 core\n"); in ShaderPipeline()
71m_shaders[glu::SHADERTYPE_FRAGMENT].push_back(m_testedShader == glu::SHADERTYPE_FRAGMENT ? testedH… in ShaderPipeline()
72 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("in highp vec4 gsColor;\n" in ShaderPipeline()
77 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back( in ShaderPipeline()
79 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back(" fsColor = outColor;\n" in ShaderPipeline()
[all …]
Dgl4cShaderAtomicCounterOpsTests.cpp47 m_shaders[glu::SHADERTYPE_VERTEX] = "<version>\n" in ShaderPipeline()
61 m_shaders[glu::SHADERTYPE_FRAGMENT] = "<version>\n" in ShaderPipeline()
72 m_shaders[glu::SHADERTYPE_TESSELLATION_CONTROL] = "<version>\n" in ShaderPipeline()
91 m_shaders[glu::SHADERTYPE_TESSELLATION_EVALUATION] = "<version>\n" in ShaderPipeline()
108 m_shaders[glu::SHADERTYPE_GEOMETRY] = "<version>\n" in ShaderPipeline()
127 m_shaders[glu::SHADERTYPE_COMPUTE] = "<version>\n" in ShaderPipeline()
178 prepareShader(m_shaders[i], "<version>", versionString); in ShaderPipeline()
179 prepareShader(m_shaders[i], "<head>", i == testedShader ? headString : ""); in ShaderPipeline()
180 …prepareShader(m_shaders[i], "<atomic_operation>", i == testedShader ? atomicOperationStream.str() … in ShaderPipeline()
211 if (!m_shaders[i].empty()) in create()
[all …]
Dgl4cShaderBallotTests.hpp45 std::vector<std::string> m_shaders[glu::SHADERTYPE_LAST]; member in gl4cts::ShaderBallotBaseTestCase::ShaderPipeline
Dgl4cShaderAtomicCounterOpsTests.hpp251 std::string m_shaders[glu::SHADERTYPE_LAST]; member in gl4cts::ShaderAtomicCounterOpsTestBase::ShaderPipeline
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp442 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
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()
457 delete m_shaders[shaderNdx]; in ~Program()
458 m_shaders.clear(); in ~Program()
468 m_shaders.reserve(m_shaders.size() + 1); in addShader()
[all …]
Des31fProgramInterfaceDefinition.hpp120 std::vector<Shader*> m_shaders; member in deqp::gles31::Functional::ProgramInterfaceDefinition::Program
/external/deqp/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp262 for (ComputeShaderIter iter = m_shaders.begin(); iter != m_shaders.end(); ++iter) in init()
271 for (ComputeShaderIter iter = m_shaders.begin(); iter != m_shaders.end(); ++iter) in deinit()
285 for (ComputeShaderIter iter = m_shaders.begin(); iter != m_shaders.end(); ++iter) in iterate()
316 m_shaders.push_back(new ComputeShader("availability", specializeShader(1, &shader))); in ShaderGroupVoteAvailabilityTestCase()
354 m_shaders.push_back( in ShaderGroupVoteAllInvocationsTestCase()
370 m_shaders.push_back( in ShaderGroupVoteAnyInvocationTestCase()
385 m_shaders.push_back( in ShaderGroupVoteAllInvocationsEqualTestCase()
390 m_shaders.push_back( in ShaderGroupVoteAllInvocationsEqualTestCase()
418 m_shaders.push_back( in ShaderGroupVoteWithVariablesTestCase()
423 m_shaders.push_back( in ShaderGroupVoteWithVariablesTestCase()
[all …]
DglcShaderGroupVoteTests.hpp75 std::vector<ComputeShader*> m_shaders; member in glcts::ShaderGroupVoteTestCaseBase
/external/deqp/framework/opengl/
DgluShaderProgram.cpp405 m_shaders[shaderType].reserve(m_shaders[shaderType].size() + 1); in init()
407 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType))); in init()
408 m_shaders[shaderType].back()->setSources(1, &source, &length); in init()
409 m_shaders[shaderType].back()->compile(); in init()
411 shadersOk = shadersOk && m_shaders[shaderType].back()->getCompileStatus(); in init()
418 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx) in init()
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()
444 delete m_shaders[shaderType][shaderNdx]; in init()
472 m_shaders[shaderType].reserve(m_shaders[shaderType].size() + 1); in init()
[all …]
DgluShaderProgram.hpp201 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader()
202 …Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders in getShader()
203 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders()
204 …rInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shad… in getShaderInfo()
214 std::vector<Shader*> m_shaders[SHADERTYPE_LAST]; member in glu::ShaderProgram
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMemGuaranteeTests.cpp156 VkShaderStageFlags m_shaders; member in vkt::RayTracing::__anona1e6165f0111::RayTracingBuildTestInstance
168 , m_shaders (0) in RayTracingBuildTestInstance()
181 if (collection.contains("rgen")) m_shaders |= VK_SHADER_STAGE_RAYGEN_BIT_KHR; in RayTracingBuildTestInstance()
182 if (collection.contains("ahit")) m_shaders |= VK_SHADER_STAGE_ANY_HIT_BIT_KHR; in RayTracingBuildTestInstance()
183 if (collection.contains("chit")) m_shaders |= VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR; in RayTracingBuildTestInstance()
184 if (collection.contains("miss")) m_shaders |= VK_SHADER_STAGE_MISS_BIT_KHR; in RayTracingBuildTestInstance()
185 if (collection.contains("sect")) m_shaders |= VK_SHADER_STAGE_INTERSECTION_BIT_KHR; in RayTracingBuildTestInstance()
186 if (collection.contains("call")) m_shaders |= VK_SHADER_STAGE_CALLABLE_BIT_KHR; in RayTracingBuildTestInstance()
193 if (shaderCount != m_extraCallShaders + (deUint32)dePop32(m_shaders)) in RayTracingBuildTestInstance()
196 if (0 != (m_shaders & VK_SHADER_STAGE_RAYGEN_BIT_KHR)) in RayTracingBuildTestInstance()
[all …]
DvktRayTracingComplexControlFlowTests.cpp256 VkShaderStageFlags m_shaders; member in vkt::RayTracing::__anonc1fe73150111::RayTracingComplexControlFlowInstance
274 , m_shaders (0) in RayTracingComplexControlFlowInstance()
292 if (collection.contains("rgen")) m_shaders |= VK_SHADER_STAGE_RAYGEN_BIT_KHR; in RayTracingComplexControlFlowInstance()
293 if (collection.contains("ahit")) m_shaders |= VK_SHADER_STAGE_ANY_HIT_BIT_KHR; in RayTracingComplexControlFlowInstance()
294 if (collection.contains("chit")) m_shaders |= VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR; in RayTracingComplexControlFlowInstance()
295 if (collection.contains("miss")) m_shaders |= VK_SHADER_STAGE_MISS_BIT_KHR; in RayTracingComplexControlFlowInstance()
296 if (collection.contains("sect")) m_shaders |= VK_SHADER_STAGE_INTERSECTION_BIT_KHR; in RayTracingComplexControlFlowInstance()
297 if (collection.contains("call")) m_shaders |= VK_SHADER_STAGE_CALLABLE_BIT_KHR; in RayTracingComplexControlFlowInstance()
309 if (shaderCount != (deUint32)dePop32(m_shaders) + (deUint32)dePop32(m_shaders2)) in RayTracingComplexControlFlowInstance()
312 …calcShaderGroup(m_shaderGroupCount, m_shaders, m_shaders2, VK_SHADER_STAGE_RAYGEN_BIT_KHR, m_ray… in RayTracingComplexControlFlowInstance()
[all …]
DvktRayTracingBuiltinTests.cpp224 VkShaderStageFlags m_shaders; member in vkt::RayTracing::__anon7e673e3b0111::RayTracingBuiltinLaunchTestInstance
235 , m_shaders (0) in RayTracingBuiltinLaunchTestInstance()
247 if (collection.contains("rgen")) m_shaders |= VK_SHADER_STAGE_RAYGEN_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
248 if (collection.contains("ahit")) m_shaders |= VK_SHADER_STAGE_ANY_HIT_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
249 if (collection.contains("chit")) m_shaders |= VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
250 if (collection.contains("miss")) m_shaders |= VK_SHADER_STAGE_MISS_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
251 if (collection.contains("sect")) m_shaders |= VK_SHADER_STAGE_INTERSECTION_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
252 if (collection.contains("call")) m_shaders |= VK_SHADER_STAGE_CALLABLE_BIT_KHR; in RayTracingBuiltinLaunchTestInstance()
257 if (shaderCount != (deUint32)dePop32(m_shaders)) in RayTracingBuiltinLaunchTestInstance()
260 if (0 != (m_shaders & VK_SHADER_STAGE_RAYGEN_BIT_KHR)) in RayTracingBuiltinLaunchTestInstance()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp224 …st glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return *m_shaders[shaderType]; } in get()
229 std::map<glu::ShaderType, glu::Shader*> m_shaders; member in deqp::gles2::Functional::__anoncabeb3ac0111::ShaderAllocator
240 …<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter != m_shaders.… in ~ShaderAllocator()
242 m_shaders.clear(); in ~ShaderAllocator()
247 if (m_shaders.find(shaderType) != m_shaders.end()) in hasShader()
259 m_shaders[shaderType] = shader; in createShader()
269 delete m_shaders[shaderType]; in deleteShader()
270 m_shaders.erase(shaderType); in deleteShader()
281 m_shaders[shaderType]->setSources(1, &cSource, 0); in setSource()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryWatertightnessTests.cpp1093 deUint32 m_shaders; member in vkt::RayQuery::__anon72ad611c0111::RayTracingConfiguration
1123 : m_shaders (0) in RayTracingConfiguration()
1402 if (collection.contains("rgen")) m_shaders |= VK_SHADER_STAGE_RAYGEN_BIT_KHR; in initConfiguration()
1403 if (collection.contains("ahit")) m_shaders |= VK_SHADER_STAGE_ANY_HIT_BIT_KHR; in initConfiguration()
1404 if (collection.contains("chit")) m_shaders |= VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR; in initConfiguration()
1405 if (collection.contains("miss")) m_shaders |= VK_SHADER_STAGE_MISS_BIT_KHR; in initConfiguration()
1406 if (collection.contains("sect")) m_shaders |= VK_SHADER_STAGE_INTERSECTION_BIT_KHR; in initConfiguration()
1407 if (collection.contains("call")) m_shaders |= VK_SHADER_STAGE_CALLABLE_BIT_KHR; in initConfiguration()
1412 if (shaderCount != (deUint32)dePop32(m_shaders)) in initConfiguration()
1415 if (0 != (m_shaders & VK_SHADER_STAGE_RAYGEN_BIT_KHR)) in initConfiguration()
[all …]
DvktRayQueryBuiltinTests.cpp1173 deUint32 m_shaders; member in vkt::RayQuery::__anon8f71fbd70111::RayTracingConfiguration
1203 : m_shaders(0) in RayTracingConfiguration()
1482 if (collection.contains("rgen")) m_shaders |= VK_SHADER_STAGE_RAYGEN_BIT_KHR; in initConfiguration()
1483 if (collection.contains("ahit")) m_shaders |= VK_SHADER_STAGE_ANY_HIT_BIT_KHR; in initConfiguration()
1484 if (collection.contains("chit")) m_shaders |= VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR; in initConfiguration()
1485 if (collection.contains("miss")) m_shaders |= VK_SHADER_STAGE_MISS_BIT_KHR; in initConfiguration()
1486 if (collection.contains("sect")) m_shaders |= VK_SHADER_STAGE_INTERSECTION_BIT_KHR; in initConfiguration()
1487 if (collection.contains("call")) m_shaders |= VK_SHADER_STAGE_CALLABLE_BIT_KHR; in initConfiguration()
1492 if (shaderCount != (deUint32)dePop32(m_shaders)) in initConfiguration()
1495 if (0 != (m_shaders & VK_SHADER_STAGE_RAYGEN_BIT_KHR)) in initConfiguration()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp148 VkShaderStageFlagBits getShaderFlag (deUint32 ndx) const { return m_shaders[ndx]; } in getShaderFlag()
154 VkShaderStageFlagBits m_shaders[VK_MAX_SHADER_STAGES]; member in vkt::pipeline::__anon035d67430111::CacheTestParam
164 m_shaders[ndx] = shaders[ndx]; in CacheTestParam()
176 std::string result(getShaderFlagStr(m_shaders[0], false)); in generateTestName()
181 …result += '_' + getShaderFlagStr(m_shaders[ndx], false) + cacheString[m_noCache ? 1 : 0] + delayed… in generateTestName()
191 std::string result("Get pipeline creation feedback with " + getShaderFlagStr(m_shaders[0], true)); in generateTestDescription()
198 result += ' ' + getShaderFlagStr(m_shaders[ndx], true); in generateTestDescription()
DvktPipelineExecutablePropertiesTests.cpp184 VkShaderStageFlagBits getShaderFlag (deUint32 ndx) const { return m_shaders[ndx]; } in getShaderFlag()
190 VkShaderStageFlagBits m_shaders[VK_MAX_SHADER_STAGES]; member in vkt::pipeline::__anon8b5e73580111::ExecutablePropertiesTestParam
200 m_shaders[ndx] = shaders[ndx]; in ExecutablePropertiesTestParam()
212 std::string result(getShaderFlagStr(m_shaders[0], false)); in generateTestName()
216 result += '_' + getShaderFlagStr(m_shaders[ndx], false); in generateTestName()
252 result += " with " + getShaderFlagStr(m_shaders[0], true); in generateTestDescription()
DvktPipelineCacheTests.cpp120 VkShaderStageFlagBits getShaderFlag (deUint32 ndx) const { return m_shaders[ndx]; } in getShaderFlag()
124 VkShaderStageFlagBits m_shaders[VK_MAX_SHADER_STAGES]; member in vkt::pipeline::__anondb71a0fd0111::CacheTestParam
135 m_shaders[ndx] = shaders[ndx]; in CacheTestParam()
146 std::string result(getShaderFlagStr(m_shaders[0], false)); in generateTestName()
149 result += '_' + getShaderFlagStr(m_shaders[ndx], false) ; in generateTestName()
156 std::string result("Create pipeline cache with " + getShaderFlagStr(m_shaders[0], true)); in generateTestDescription()
159 result += ' ' + getShaderFlagStr(m_shaders[ndx], true); in generateTestDescription()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp277 …st glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return *m_shaders[shaderType]; } in get()
282 std::map<glu::ShaderType, glu::Shader*> m_shaders; member in deqp::gles3::Functional::__anond51eaa4e0111::ShaderAllocator
293 …<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter != m_shaders.… in ~ShaderAllocator()
295 m_shaders.clear(); in ~ShaderAllocator()
300 if (m_shaders.find(shaderType) != m_shaders.end()) in hasShader()
312 m_shaders[shaderType] = shader; in createShader()
322 delete m_shaders[shaderType]; in deleteShader()
323 m_shaders.erase(shaderType); in deleteShader()
334 m_shaders[shaderType]->setSources(1, &cSource, 0); in setSource()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp1085 m_shaders.push_back(shader); in addShader()
1087 stageCount = static_cast<deUint32>(m_shaders.size()); in addShader()
1088 pStages = &m_shaders[0]; in addShader()
DvktDrawCreateInfoUtil.hpp473 std::vector<vk::VkPipelineShaderStageCreateInfo> m_shaders; member in vkt::Draw::PipelineCreateInfo
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp3165 m_shaders.push_back(shaderConfiguration(Compute, GL_POINTS, "Compute")); in iterate()
3166 m_shaders.push_back(shaderConfiguration(Fragment, GL_POINTS, "Fragment")); in iterate()
3167 m_shaders.push_back(shaderConfiguration(Vertex, GL_POINTS, "Vertex")); in iterate()
3172 m_shaders.push_back(shaderConfiguration(Geometry, GL_POINTS, "Geometry")); in iterate()
3178m_shaders.push_back(shaderConfiguration(Tesselation_Control, m_glExtTokens.PATCHES, "Tesselation_C… in iterate()
3179 m_shaders.push_back( in iterate()
3690 …for (shadersVectorType::iterator shader = m_shaders.begin(), end_shader = m_shaders.end(); end_sha…
DesextcTextureCubeMapArraySampling.hpp685 shadersVectorType m_shaders; member in glcts::TextureCubeMapArraySamplingTest
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp90 const SharedPtr<Shader> getShader (int index) const { return m_shaders[index]; } in getShader()
91 void addShader (SharedPtr<Shader> shader) { m_shaders.push_back(shader); } in addShader()
92 int getShaderCount (void) const { return (int)m_shaders.size(); } in getShaderCount()
102 std::vector<SharedPtr<Shader> > m_shaders; member in deqp::egl::GLES2ThreadTest::GLES2ResourceManager
126 SharedPtr<Shader> shader = m_shaders[index]; in popShader()
128 m_shaders.erase(m_shaders.begin() + index); in popShader()