Home
last modified time | relevance | path

Searched refs:srcStrings (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp554 const char* srcStrings[10]; in iterate() local
563 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
564 srcStrings[i++] = "\n"; in iterate()
567 srcStrings[i++] = "out gl_PerVertex {\n" in iterate()
571 srcStrings[i++] = "in vec4 a_position;\n"; in iterate()
572 srcStrings[i++] = "void main ()\n"; in iterate()
573 srcStrings[i++] = "{\n"; in iterate()
574 srcStrings[i++] = " gl_Position = a_position;\n"; in iterate()
575 srcStrings[i++] = "}\n"; in iterate()
577 program = gl.createShaderProgramv(GL_VERTEX_SHADER, i, srcStrings); in iterate()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DShaderD3D.cpp41 std::vector<const char *> srcStrings; in operator ()() local
44 srcStrings.push_back(mSourcePath.c_str()); in operator ()()
46 srcStrings.push_back(mSource.c_str()); in operator ()()
48 mResult = sh::Compile(mHandle, &srcStrings[0], srcStrings.size(), mOptions); in operator ()()