Searched refs:fragSrc (Results 1 - 9 of 9) sorted by relevance

/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp152 std::ostringstream fragSrc; local
153 fragSrc << "#version 300 es\n";
154 fragSrc << "layout(location = 0) out mediump vec4 o_color;\n";
155 fragSrc << "in mediump vec2 v_coords;\n";
158 fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler" << texNdx << ";\n";
160 fragSrc << "void main (void)\n"
166 fragSrc << "\t" << glu::getPrecisionName(samplerPrec) << " vec4 r = ";
168 fragSrc << "\tr += ";
171 fragSrc << "vec4(";
173 fragSrc << "textur
[all...]
H A Des3pDepthTests.cpp352 const string fragSrc = "#version 300 es\n" local
369 return tcu::StringTemplate(fragSrc).specialize(params);
/external/deqp/modules/gles2/performance/
H A Des2pTextureCases.cpp143 std::ostringstream fragSrc; local
144 fragSrc << "varying mediump vec2 v_coords;\n";
147 fragSrc << "uniform sampler2D u_sampler" << texNdx << ";\n";
149 fragSrc << "void main (void)\n"
153 fragSrc << "\t" << (texNdx == 0 ? "lowp vec4 r = " : "r += ") << "texture2D(u_sampler" << texNdx << ", v_coords);\n";
155 fragSrc << " gl_FragColor = r;\n"
158 m_fragShaderSource = fragSrc.str();
/external/deqp/modules/gles3/functional/
H A Des3fFragDepthTests.cpp100 FragDepthCompareCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFunc evalFunc, deUint32 compareFunc);
111 FragDepthCompareCase::FragDepthCompareCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFunc evalFunc, deUint32 compareFunc) argument
113 , m_fragSrc (fragSrc)
273 FragDepthWriteCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFunc evalFunc);
283 FragDepthWriteCase::FragDepthWriteCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFunc evalFunc) argument
285 , m_fragSrc (fragSrc)
451 const char* fragSrc; member in struct:deqp::gles3::Functional::__anon20013
580 writeGroup->addChild(new FragDepthWriteCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].fragSrc, cases[ndx].evalFunc));
586 compareGroup->addChild(new FragDepthCompareCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].fragSrc, cases[ndx].evalFunc, GL_LESS));
H A Des3fShaderApiTests.cpp1234 const std::string fragSrc = getSimpleShaderSource(glu::SHADERTYPE_FRAGMENT); local
1236 const glu::ProgramSources sources = glu::makeVtxFragSources(vertSrc, fragSrc);
1277 const char* fragSrc = local
1291 return (shaderType == glu::SHADERTYPE_VERTEX) ? vertSrc : fragSrc;
1359 const std::string fragSrc = getShaderSource(glu::SHADERTYPE_FRAGMENT); local
1361 const glu::ProgramSources sources = glu::makeVtxFragSources(vertSrc, fragSrc);
H A Des3fShaderTextureFunctionTests.cpp1147 const std::string fragSrc = genFragmentShader(); local
1150 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertSrc, fragSrc));
/external/deqp/modules/glshared/
H A DglsFragmentOpUtil.cpp150 const char* fragSrc = getFragSrc(glslVersion); local
152 m_program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc));
H A DglsUniformBlockCase.cpp1428 std::ostringstream fragSrc; local
1431 generateFragmentShader(fragSrc, m_glslVersion, m_interface, refLayout, blockPointers);
1433 glu::ShaderProgram program(m_renderCtx, glu::makeVtxFragSources(vtxSrc.str(), fragSrc.str()));
H A DglsTextureTestUtil.cpp1221 std::string fragSrc = tcu::StringTemplate(fragShaderTemplate).specialize(params); local
1223 glu::ShaderProgram* progObj = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc));

Completed in 328 milliseconds