/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 152 std::ostringstream fragSrc; 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 << "texture(u_sampler" << texNdx << ", v_coords)" [all...] |
es3pDepthTests.cpp | 353 const string fragSrc = "#version 300 es\n" 370 return tcu::StringTemplate(fragSrc).specialize(params); [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 143 std::ostringstream fragSrc; 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();
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
gles3jni.h | 69 extern GLuint createProgram(const char* vtxSrc, const char* fragSrc);
|
gles3jni.cpp | 72 GLuint createProgram(const char* vtxSrc, const char* fragSrc) { 82 fragShader = createShader(GL_FRAGMENT_SHADER, fragSrc);
|
/external/deqp/modules/gles3/functional/ |
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) 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) 285 , m_fragSrc (fragSrc) 451 const char* fragSrc; 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));
|
es3fShaderApiTests.cpp | 1234 const std::string fragSrc = getSimpleShaderSource(glu::SHADERTYPE_FRAGMENT); 1236 const glu::ProgramSources sources = glu::makeVtxFragSources(vertSrc, fragSrc); [all...] |
es3fShaderTextureFunctionTests.cpp | [all...] |
/external/deqp/modules/glshared/ |
glsFragmentOpUtil.cpp | 150 const char* fragSrc = getFragSrc(glslVersion); 152 m_program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(vertSrc, fragSrc));
|
glsUniformBlockCase.cpp | [all...] |
glsTextureTestUtil.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderStructTests.cpp | 97 std::string fragSrc; 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)); [all...] |