Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 777
    • Issues 777
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 210
    • Merge requests 210
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17011
Closed
Open
Created Apr 04, 2017 by Gert Wollny@gerddie

OpenGL2/vtkShader compilation reports failure when it is called a second time without changin the source code.

The compilation fails in the second run because after the first run, the shader->Dirty member variable is set to false and Compile function starts like this:

bool vtkShader::Compile()
{
   if (this->Source.empty() || this->ShaderType == Unknown || !this->Dirty)
   {
       return false;
   }

One would expect that this functions returns true if !this->Dirty.

Assignee
Assign to
Time tracking