Skip to content
Snippets Groups Projects
  1. Jan 13, 2025
    • Jaswant Panchumarti (Kitware)'s avatar
      Fix cell coloring for thick lines on apple silicon · fefb1764
      Jaswant Panchumarti (Kitware) authored
      - address paraview/paraview#22594
      - address paraview/paraview#21832
      - Thick lines were drawn by expanding a line to 2 triangles stacked on their longest side using a geometry shader. When coloring by cell scalars, this worked everywhere except on apple silicon.
      - There seems to be a bug related to geometry shaders in Apple's OpenGL driver that caused thick lines to not correctly pick up cell colors.
      - It looks like the value written to `gl_PrimitiveID` is overwritten implicitly by `EmitVertex` and incremented each time a vertex is emitted from the geometry shader.
      - This commit works around it by fixing the usage of `gl_PrimitiveID` in fragment shader when drawing thick lines.
      
      (cherry picked from commit 62466099)
      fefb1764
  2. Jan 08, 2025
  3. Jan 07, 2025
  4. Dec 20, 2024
  5. Dec 19, 2024
  6. Dec 18, 2024
  7. Dec 17, 2024
  8. Dec 16, 2024
  9. Dec 15, 2024
  10. Dec 13, 2024
  11. Dec 12, 2024
Loading