Home
last modified time | relevance | path

Searched refs:m_shaders (Results 1 – 18 of 18) 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.cpp436 for (int shaderNdx = 0; shaderNdx < (int)m_shaders.size(); ++shaderNdx) in ~Program()
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()
451 delete m_shaders[shaderNdx]; in ~Program()
452 m_shaders.clear(); in ~Program()
462 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/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::__anoncf5ff14e0111::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/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::__anond9bfe7f00111::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/pipeline/
DvktPipelineCacheTests.cpp119 …VkShaderStageFlagBits getShaderFlag (deUint32 ndx) const { return m_shaders[ndx… in getShaderFlag()
122 VkShaderStageFlagBits m_shaders[VK_MAX_SHADER_STAGES]; member in vkt::pipeline::__anoned8237df0111::CacheTestParam
130 m_shaders[ndx] = shaders[ndx]; in CacheTestParam()
140 std::string result(getShaderFlagStr(m_shaders[0], false)); in generateTestName()
143 result += '_' + getShaderFlagStr(m_shaders[ndx], false) ; in generateTestName()
150 std::string result("Create pipeline cache with " + getShaderFlagStr(m_shaders[0], true)); in generateTestDescription()
153 result += ' ' + getShaderFlagStr(m_shaders[ndx], true); in generateTestDescription()
/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()