Bug 1058 - Fix GLContext.getGLSLVersionString(): Add 'profile' after version for GLSL >= 150 allowing GLSL compatibility profile
Summary: Fix GLContext.getGLSLVersionString(): Add 'profile' after version for GLSL >=...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-09-02 07:13 CEST by Sven Gothel
Modified: 2014-09-02 07:22 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
fbbc153150faecdaa7f37c15eb03fc484276bb40
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-09-02 07:13:33 CEST
GLSL spec defaults to 'core' profile if the profile tag is missing.

A profile tag shall be appended to the #version directive
if GLSL >= 150.
Comment 1 Sven Gothel 2014-09-02 07:17:36 CEST
fbbc153150faecdaa7f37c15eb03fc484276bb40
Comment 2 Sven Gothel 2014-09-02 07:22:21 CEST
See 'The OpenGL Shading Language'
Language Version 4.40, Document Revision 9, 2014-06-16,
Chapter 3.3 p18.