Re: Is the const type qualifier only in CG?
Jeremy Selan <jeremy...@...>
Those who are having trouble with GLSL, are you on the most recent
version of OCIO? I made a commit last week (which is in version 0.7.5), where on OSX the const keyword would be omitted for GLSL 1.0 (which is what should be used on OSX). If you see line 79 in http://github.com/imageworks/OpenColorIO/blob/master/src/core/Processor.cpp And I confirmed that the ociodisplay app works on my osx 10.6.6 install. (A macbook laptop). You'll see that in OCIO we currently distinguish the profile options between GLSL 1.0, 1.3, and GG. And that only the CG and GLSL 1.3+ profiles use the const identifier. My hope was that we could get by with the minimum language options necessary, and only add new glsl versions if/when new language features are necessary. -- Jeremy
|
|