DiscussionsIssue archiveOCCT:Visualization

Archived issue #0026808

Visualization, TKOpenGl - specify GLSL 120 for point sprites program

Open CASCADEOCCT:Visualizationclosed8 public notes

Search issues

Description

Mesa generates the following error when trying to display point with FFP disabled but in Backward Compatibility OpenGL context:
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
  Failed to compile shader object. Compilation log:
0:180(59): error: `gl_PointCoord' undeclared


this is due to fact that gl_PointCoord has been added to GLSL only since version 120.

Steps to reproduce

N/A

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sat Oct 24 14:40:09 2015 +0300

    0026808: Visualization, TKOpenGl - specify GLSL 120 for point sprites program
02Author
Patch is ready for review.
03Commenter 3
Branch CR26808 reviewed without remarks, ready for testing.
04Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 5
Dear Commenter 1,
Branch CR26808 was rebased on current master of occt git-repository.
06Commenter 6
Dear Commenter 1,
Branch CR26808 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 1 (1 on master)
Windows: 0 (0 on master)

products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 92936061 / 92329727 [+0.66%]
Total CPU difference: 19691.019999999895 / 19731.109999999688 [-0.20%]
products component :
Total MEMORY difference: 26213349 / 26272952 [-0.23%]
Total CPU difference: 7576.489999999991 / 7371.560000000013 [+2.78%]

Testing on Windows:
occt component :
Total MEMORY difference: 92936061 / 92329727 [+0.66%]
Total CPU difference: 19691.019999999895 / 19731.109999999688 [-0.20%]
products component :
Total MEMORY difference: 17156790 / 17161034 [-0.02%]
Total CPU difference: 5622.229239699961 / 5657.423065299974 [-0.62%]

There are no differences in images found by testdiff.
07Commenter 7
Dear Commenter 1,
Branch CR26808 is TESTED.
08Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records