/external/deqp/framework/randomshaders/ |
D | rsgTest.cpp | 51 rsg::Shader fragmentShader(rsg::Shader::TYPE_FRAGMENT); in runTest() local 54 generator.generate(programParams, vertexShader, fragmentShader); in runTest() 57 std::cout << "Fragment shader:\n--\n" << fragmentShader.getSource() << "--\n"; in runTest() 63 rsg::computeUnifiedUniforms(vertexShader, fragmentShader, uniforms); in runTest() 70 executor.execute(vertexShader, fragmentShader, uniformValues); in runTest()
|
D | rsgProgramGenerator.cpp | 44 Shader& fragmentShader) in generate() argument 55 shaderGen.generate(programParams.fragmentParameters, fragmentShader, emptyOutputs); in generate() 63 …const vector<ShaderInput*>& fragmentInputs = fragmentShader.getInputs(); // \note gl_Position and … in generate() 71 const vector<ShaderInput*>& fragmentUniforms = fragmentShader.getUniforms(); in generate()
|
D | rsgProgramGenerator.hpp | 39 …generate (const ProgramParameters& programParams, Shader& vertexShader, Shader& fragmentShader);
|
D | rsgProgramExecutor.cpp | 211 void ProgramExecutor::execute (const Shader& vertexShader, const Shader& fragmentShader, const vect… in execute() argument 285 const vector<ShaderInput*>& inputs = fragmentShader.getInputs(); in execute() 290 fragmentShader.getOutputs(outputs); in execute() 339 fragmentShader.execute(execCtx); in execute()
|
D | rsgProgramExecutor.hpp | 51 …void execute (const Shader& vertexShader, const Shader& fragmentShader, const std::vector…
|
D | rsgUtils.hpp | 38 void computeUnifiedUniforms (const Shader& vertexShader, const Shader& fragmentShader, std::vecto…
|
D | rsgUtils.cpp | 50 void computeUnifiedUniforms (const Shader& vertexShader, const Shader& fragmentShader, std::vector<… in computeUnifiedUniforms() argument 54 addNewUniforms(uniforms, addedUniforms, fragmentShader); in computeUnifiedUniforms()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 70 …claration& decl, const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifie… in generateProgramDeclaration() argument 73 << sglr::pdec::FragmentSource(fragmentShader.getSource()); in generateProgramDeclaration() 81 …:ShaderInput*>::const_iterator fragInIter = fragmentShader.getInputs().begin(); fragInIter != frag… in generateProgramDeclaration() 96 …gramDeclaration (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifie… in generateProgramDeclaration() argument 99 …generateProgramDeclaration(decl, vertexShader, fragmentShader, numUnifiedUniforms, unifiedUniforms… in generateProgramDeclaration() 131 …omShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifie… in RandomShaderProgram() argument 132 …: sglr::ShaderProgram (generateProgramDeclaration(vertexShader, fragmentShader, numUnifiedUniforms… in RandomShaderProgram() 134 , m_fragmentShader (fragmentShader) in RandomShaderProgram() 138 , m_fragColorVar (findShaderOutputByLocation(fragmentShader, 0)) in RandomShaderProgram() 145 …:ShaderInput*>::const_iterator fragInIter = fragmentShader.getInputs().begin(); fragInIter != frag… in RandomShaderProgram()
|
D | glsRandomShaderProgram.hpp | 44 …RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int num…
|
D | glsAttributeLocationTests.cpp | 419 const deUint32 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); in createAndAttachShaders() local 430 gl.shaderSource(fragmentShader, 1, &fragmentShaderString, DE_NULL); in createAndAttachShaders() 436 gl.compileShader(fragmentShader); in createAndAttachShaders() 440 gl.attachShader(program, fragmentShader); in createAndAttachShaders() 445 const bool fragmentCompileOk = getShaderCompileStatus(gl, fragmentShader); in createAndAttachShaders() 448 const string fragmentShaderInfoLog = getShaderInfoLog(gl, fragmentShader); in createAndAttachShaders() 457 gl.deleteShader(fragmentShader); in createAndAttachShaders() 459 return pair<deUint32, deUint32>(vertexShader, fragmentShader); in createAndAttachShaders() 466 if (fragmentShader != 0) in createAndAttachShaders() 467 gl.deleteShader(fragmentShader); in createAndAttachShaders()
|
/external/deqp/modules/egl/ |
D | teglSwapBuffersTests.cpp | 138 deUint32 fragmentShader = 0; in createGLES2Program() local 151 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); in createGLES2Program() 159 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); in createGLES2Program() 160 gl.compileShader(fragmentShader); in createGLES2Program() 180 gl.getShaderiv(fragmentShader, GL_COMPILE_STATUS, &fragmentCompileStatus); in createGLES2Program() 181 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 185 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program() 192 gl.attachShader(program, fragmentShader); in createGLES2Program() 222 gl.deleteShader(fragmentShader); in createGLES2Program() 235 if (fragmentShader) in createGLES2Program() [all …]
|
D | teglNativeColorMappingTests.cpp | 106 deUint32 fragmentShader = 0; in createGLES2Program() local 119 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); in createGLES2Program() 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); in createGLES2Program() 128 gl.compileShader(fragmentShader); in createGLES2Program() 148 gl.getShaderiv(fragmentShader, GL_COMPILE_STATUS, &fragmentCompileStatus); in createGLES2Program() 149 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 153 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program() 160 gl.attachShader(program, fragmentShader); in createGLES2Program() 190 gl.deleteShader(fragmentShader); in createGLES2Program() 203 if (fragmentShader) in createGLES2Program() [all …]
|
D | teglNativeCoordMappingTests.cpp | 106 deUint32 fragmentShader = 0; in createGLES2Program() local 119 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); in createGLES2Program() 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); in createGLES2Program() 128 gl.compileShader(fragmentShader); in createGLES2Program() 148 gl.getShaderiv(fragmentShader, GL_COMPILE_STATUS, &fragmentCompileStatus); in createGLES2Program() 149 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 153 …gl.getShaderInfoLog(fragmentShader, (glw::GLsizei)fragmentInfoLog.length(), &infoLogLength, &(frag… in createGLES2Program() 160 gl.attachShader(program, fragmentShader); in createGLES2Program() 190 gl.deleteShader(fragmentShader); in createGLES2Program() 203 if (fragmentShader) in createGLES2Program() [all …]
|
D | teglGLES2SharingTests.cpp | 350 const char* fragmentShader = "" in renderResource() local 357 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in renderResource() 526 const char* fragmentShader = "" in renderResource() local 534 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in renderResource() 662 const char* fragmentShader = "" in createResource() local 669 m_program = new glu::ShaderProgram(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in createResource() 815 const char* fragmentShader = "" in createResource() local 833 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); in createResource() 859 m_log << tcu::TestLog::Message << fragmentShader << tcu::TestLog::EndMessage; in createResource() 893 const char* fragmentShader = "" in renderResource() local [all …]
|
D | teglGLES2SharedRenderingPerfTests.cpp | 303 GLuint fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); in createProgram() local 326 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); in createProgram() 349 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); in createProgram() 355 gl.compileShader(fragmentShader); in createProgram() 383 gl.getShaderiv(fragmentShader, GL_COMPILE_STATUS, &status); in createProgram() 391 gl.getShaderiv(fragmentShader, GL_INFO_LOG_LENGTH, &length); in createProgram() 395 gl.getShaderInfoLog(fragmentShader, (GLsizei)log.size(), &length, &(log[0])); in createProgram() 407 gl.attachShader(program, fragmentShader); in createProgram() 437 gl.deleteShader(fragmentShader); in createProgram()
|
D | teglGLES2SharingThreadedTests.cpp | 1461 SharedPtr<Shader> fragmentShader; member in deqp::egl::GLES2ThreadTest::Program 1560 m_program->fragmentShader = shader; in AttachShader() 1606 DE_ASSERT(m_program->fragmentShader); in DetachShader() 1607 m_program->fragmentShader = SharedPtr<Shader>(); in DetachShader() 2396 if (program->vertexShader || program->fragmentShader) in addRandomOperation() 2404 else if (program->fragmentShader) in addRandomOperation() 2415 else if (program->fragmentShader) in addRandomOperation() 2432 if (!program->fragmentShader) in addRandomOperation() 2441 if (program->vertexShader && program->fragmentShader) in addRandomOperation() 3119 SharedPtr<GLES2ThreadTest::Shader> fragmentShader; in addBufferOperations() local [all …]
|
D | teglImageFormatTests.cpp | 411 const char* const fragmentShader = in invokeGLES2() local 419 Program program(gl, vertexShader, fragmentShader); in invokeGLES2() 488 const char* fragmentShader = in invokeGLES2() local 494 Program program(gl, vertexShader, fragmentShader); in invokeGLES2() 612 const char* fragmentShader = in invokeGLES2() local 618 Program program(gl, vertexShader, fragmentShader); in invokeGLES2()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.hpp | 64 , fragmentShader (fragmentShader_) in Program() 70 const FragmentShader* fragmentShader; member
|
D | rrRenderer.cpp | 1036 const size_t numOutputs = program.fragmentShader->getOutputs().size(); in writeFragmentPackets() 1120 … buffers.fragmentDepthBuffer, triangle.v2->primitiveID, (int)program.fragmentShader->getOutputs().… in rasterizePrimitive() 1153 …program.fragmentShader->shadeFragments(&buffers.fragmentPackets[0], numRasterizedPackets, shadingC… in rasterizePrimitive() 1177 …[0], buffers.fragmentDepthBuffer, line.v1->primitiveID, (int)program.fragmentShader->getOutputs().… in rasterizePrimitive() 1206 …program.fragmentShader->shadeFragments(&buffers.fragmentPackets[0], numRasterizedPackets, shadingC… in rasterizePrimitive() 1243 …0], buffers.fragmentDepthBuffer, point.v0->primitiveID, (int)program.fragmentShader->getOutputs().… in rasterizePrimitive() 1271 …program.fragmentShader->shadeFragments(&buffers.fragmentPackets[0], numRasterizedPackets, shadingC… in rasterizePrimitive() 1291 const int numFragmentOutputs = (int)program.fragmentShader->getOutputs().size(); in rasterize() 1521 if (command.program.geometryShader->getOutputs() != command.program.fragmentShader->getInputs()) in isValidCommand() 1526 if (command.program.vertexShader->getOutputs() != command.program.fragmentShader->getInputs()) in isValidCommand() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
D | TechniqueDef.java | 230 public void setShaderFile(String vertexShader, String fragmentShader, String shaderLanguage){ in setShaderFile() argument 232 this.fragName = fragmentShader; in setShaderFile()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderInvarianceTests.cpp | 405 …t std::string& vertexShader1, const std::string& vertexShader2, const std::string& fragmentShader); 433 …st std::string& vertexShader1, const std::string& vertexShader2, const std::string& fragmentShader) in BasicInvarianceTest() argument 437 , m_fragmentShader (fragmentShader) in BasicInvarianceTest()
|
D | es3fVertexArrayObjectTests.cpp | 534 const char* fragmentShader = in createProgram() local 543 …m(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderStream.str(), fragmentShader)); in createProgram() 1111 const char* fragmentShader = in createProgram() local 1120 …m(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderStream.str(), fragmentShader)); in createProgram()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderInvarianceTests.cpp | 405 …t std::string& vertexShader1, const std::string& vertexShader2, const std::string& fragmentShader); 431 …st std::string& vertexShader1, const std::string& vertexShader2, const std::string& fragmentShader) in BasicInvarianceTest() argument 435 , m_fragmentShader (fragmentShader) in BasicInvarianceTest()
|
D | es2fVertexTextureTests.cpp | 447 const char* const fragmentShader = in init() local 459 …ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShader, fragmentShader)); in init() 750 const char* const fragmentShader = in init() local 762 …ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShader, fragmentShader)); in init()
|
/external/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 201 std::ostringstream fragmentShader; in createShader() local 251 fragmentShader in createShader() 259 …amSources() << glu::VertexSource(vertexShader.str()) << glu::FragmentSource(fragmentShader.str())); in createShader()
|