/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderStructTests.cpp | 97 std::string fragSrc; local 112 fragSrc = defaultFragSrc; 125 fragSrc = tcu::StringTemplate(shaderSrc.str()).specialize(spParams); 128 return de::MovePtr<ShaderStructCase>(new ShaderStructCase(testCtx, name, description, isVertexCase, evalFunc, uniformFunc, vertSrc, fragSrc));
|
/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureCases.cpp | 143 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/performance/ |
H A D | es3pTextureCases.cpp | 152 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 D | es3pDepthTests.cpp | 353 const string fragSrc = "#version 300 es\n" local 370 return tcu::StringTemplate(fragSrc).specialize(params);
|
/external/deqp/modules/glshared/ |
H A D | glsFragmentOpUtil.cpp | 150 const char* fragSrc = getFragSrc(glslVersion); local 152 m_program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc));
|
H A D | glsUniformBlockCase.cpp | 1428 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 D | glsTextureTestUtil.cpp | 1238 std::string fragSrc = tcu::StringTemplate(fragShaderTemplate).specialize(params); local 1240 glu::ShaderProgram* progObj = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFragDepthTests.cpp | 100 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::__anon4318 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 D | es3fShaderApiTests.cpp | 1234 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 D | es3fShaderTextureFunctionTests.cpp | 1084 const std::string fragSrc = genFragmentShader(); local 1087 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertSrc, fragSrc));
|