/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 152 std::ostringstream fragSrc; in init() local 153 fragSrc << "#version 300 es\n"; in init() 154 fragSrc << "layout(location = 0) out mediump vec4 o_color;\n"; in init() 155 fragSrc << "in mediump vec2 v_coords;\n"; in init() 158 …fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(sampler… in init() 160 fragSrc << "void main (void)\n" in init() 166 fragSrc << "\t" << glu::getPrecisionName(samplerPrec) << " vec4 r = "; in init() 168 fragSrc << "\tr += "; in init() 171 fragSrc << "vec4("; in init() 173 fragSrc << "texture(u_sampler" << texNdx << ", v_coords)"; in init() [all …]
|
D | es3pDepthTests.cpp | 353 const string fragSrc = "#version 300 es\n" in getGridDiscardFragmentShader() local 370 return tcu::StringTemplate(fragSrc).specialize(params); in getGridDiscardFragmentShader()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cSeparateShaderObjsTests.cpp | 1218 std::ostringstream fragSrc; in generateUniformFragSrc() local 1220 fragSrc << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; in generateUniformFragSrc() 1223 fragSrc << s_unifFragSquareMatShaderSrc; in generateUniformFragSrc() 1227 fragSrc << s_unifFragNonSquareMatShaderSrc; in generateUniformFragSrc() 1231 fragSrc << s_unifFragShaderSrc; in generateUniformFragSrc() 1255 tcu::StringTemplate fragTmpl(fragSrc.str().c_str()); in generateUniformFragSrc() 1892 std::string fragSrc; in iterate() local 1895 generateUniformFragSrc(fragSrc, m_glslVersion, dType[i]); in iterate() 1897 size_t length = fragSrc.size(); in iterate() 1899 fragSrc.copy(&shaderbuf[0], length); in iterate() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureCases.cpp | 143 std::ostringstream fragSrc; in init() local 144 fragSrc << "varying mediump vec2 v_coords;\n"; in init() 147 fragSrc << "uniform sampler2D u_sampler" << texNdx << ";\n"; in init() 149 fragSrc << "void main (void)\n" in init() 153 …fragSrc << "\t" << (texNdx == 0 ? "lowp vec4 r = " : "r += ") << "texture2D(u_sampler" << texNdx <… in init() 155 fragSrc << " gl_FragColor = r;\n" in init() 158 m_fragShaderSource = fragSrc.str(); in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 100 …eCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFun… 111 …eCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFun… in FragDepthCompareCase() argument 113 , m_fragSrc (fragSrc) in FragDepthCompareCase() 273 …Case (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFun… 283 …eCase (Context& context, const char* name, const char* desc, const char* fragSrc, EvalFragDepthFun… in FragDepthWriteCase() argument 285 , m_fragSrc (fragSrc) in FragDepthWriteCase() 451 const char* fragSrc; in init() member 580 …agDepthWriteCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].fragSrc, cases[ndx].evalF… in init() 586 …DepthCompareCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].fragSrc, cases[ndx].evalF… in init()
|
D | es3fShaderApiTests.cpp | 1234 const std::string fragSrc = getSimpleShaderSource(glu::SHADERTYPE_FRAGMENT); in test() local 1236 const glu::ProgramSources sources = glu::makeVtxFragSources(vertSrc, fragSrc); in test() 1277 const char* fragSrc = in getShaderSource() local 1291 return (shaderType == glu::SHADERTYPE_VERTEX) ? vertSrc : fragSrc; in getShaderSource() 1359 const std::string fragSrc = getShaderSource(glu::SHADERTYPE_FRAGMENT); in test() local 1361 const glu::ProgramSources sources = glu::makeVtxFragSources(vertSrc, fragSrc); in test()
|
D | es3fShaderTextureFunctionTests.cpp | 1084 const std::string fragSrc = genFragmentShader(); in initShader() local 1087 … = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertSrc, fragSrc)); in initShader()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 113 const char* fragSrc, EvalFragDepthFunc evalFunc, deUint32 compareFunc); 126 glu::GLSLVersion glslVersion, const char* fragSrc, in FragDepthCompareCase() argument 130 , m_fragSrc(fragSrc) in FragDepthCompareCase() 272 const char* fragSrc, EvalFragDepthFunc evalFunc); 284 glu::GLSLVersion glslVersion, const char* fragSrc, EvalFragDepthFunc evalFunc) in FragDepthWriteCase() argument 285 …: TestCase(context, name, desc), m_glslVersion(glslVersion), m_fragSrc(fragSrc), m_evalFunc(evalFu… in FragDepthWriteCase() 446 const char* fragSrc; in init() member 552 cases[ndx].fragSrc, cases[ndx].evalFunc)); in init() 560 cases[ndx].fragSrc, cases[ndx].evalFunc, GL_LESS)); in init()
|
D | glcUniformBlockCase.cpp | 1382 std::ostringstream fragSrc; in iterate() local 1385 generateFragmentShader(fragSrc, m_glslVersion, m_interface, refLayout, blockPointers); in iterate() 1388 glu::makeVtxFragSources(vtxSrc.str().c_str(), fragSrc.str().c_str())); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsFragmentOpUtil.cpp | 150 const char* fragSrc = getFragSrc(glslVersion); in QuadRenderer() local 152 m_program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc)); in QuadRenderer()
|
D | glsTextureTestUtil.cpp | 257 std::string fragSrc = tcu::StringTemplate(fragShaderTemplate).specialize(params); in getProgram() local 259 …derProgram* progObj = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc)); in getProgram()
|
D | glsUniformBlockCase.cpp | 1428 std::ostringstream fragSrc; in iterate() local 1431 generateFragmentShader(fragSrc, m_glslVersion, m_interface, refLayout, blockPointers); in iterate() 1433 glu::ShaderProgram program(m_renderCtx, glu::makeVtxFragSources(vtxSrc.str(), fragSrc.str())); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderStructTests.cpp | 97 std::string fragSrc; in createStructCase() local 112 fragSrc = defaultFragSrc; in createStructCase() 125 fragSrc = tcu::StringTemplate(shaderSrc.str()).specialize(spParams); in createStructCase() 128 …aderStructCase(testCtx, name, description, isVertexCase, evalFunc, uniformFunc, vertSrc, fragSrc)); in createStructCase()
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolOcclusionTests.cpp | 1050 const std::string fragSrc = std::string( in initPrograms() local 1059 programCollection.glslSources.add("frag") << glu::FragmentSource(fragSrc.c_str()); in initPrograms()
|