Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Issues
  • #67

Closed
Open
Created Apr 18, 2014 by Sebastian Volke@volkeOwner

-RM-356-MR-Shader 1.30 support for MacOSX

Running on MacOSX 10.9.2 with NVIDIA GeForce GT 750M the compatibility opengl profile only supports shading language 1.20. This will make some glsl shaders fail with:

*DEBUG [WGEShader] Reloading vertex shader "WMFiberDisplay-EndCap-vertex.glsl" *DEBUG [WGEShader] Reloading fragment shader "WMFiberDisplay-EndCap-fragment.glsl" *DEBUG [WGEShader] Reloading geometry shader "WMFiberDisplay-EndCap-geometry.glsl" VERTEX glCompileShader "" FAILED VERTEX Shader "" infolog: ERROR: 0:1: '' : version '130' is not supported

FRAGMENT glCompileShader "" FAILED FRAGMENT Shader "" infolog: ERROR: 0:1: '' : version '130' is not supported

glLinkProgram "" FAILED Program "" infolog: ERROR: One or more attached shaders not successfully compiled

The Core OpenGL profile does support shading language 4.10. The following post seems to be relevant: http://stackoverflow.com/questions/20264814/glsl-version-130-on-mac-os-x-causes-error.

"Unless you select a pixel format that explicitly asks for a core profile, then you are going to get an OpenGL 2.1 implementation (on MacOSX)...it (MacOSX) does not support compatibility profiles. You either get the legacy OpenGL 2.1 implementation or the core 3.2 (3.3/4.1 in OS X 10.9) implementation but you can never mix-and-match features from both. Furthermore, unless you modify your code to ask for a core profile, you will be limited to OpenGL 2.1 by default."

(from redmine: created on 2014-04-18, closed on 2015-03-14)

Assignee
Assign to
OpenWalnut 1.4
Milestone
OpenWalnut 1.4
Assign milestone
Time tracking