Toggle navigation
Help
Log In
Help
Log In
Home
Messages
Hashtags
Subgroups
Calendar
×
×
×
Close
Likes
ocio-dev@lists.aswf.io
Topics
Is the const type qualifier only in CG?
×
Close
Search
Date
Date
1 - 1 of 1
previous page
next page
Is the const type qualifier only in CG?
Malcolm Humphreys <malcolmh...@...>
#375
Is the 'const' qualifier in glsl? I have to change the following to get the glsl shader to compile on OSX.
I'm cool to add another if glsl or cg block, just wondering if this could be something else.
.malcolm
diff --git a/src/core/Processor.cpp b/src/core/Processor.cpp
index 2f0f83b..c22770f 100644
--- a/src/core/Processor.cpp
+++ b/src/core/Processor.cpp
@@ -81,7 +81,7 @@ OCIO_NAMESPACE_ENTER
}
else throw Exception("Unsupported shader language.");
- shader << " const uniform sampler3D " << lut3dName << ") \n";
+ shader << " in sampler3D " << lut3dName << ") \n";
shader << "{" << "\n";
if(lang == GPU_LANGUAGE_CG)
More
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of ocio-dev@lists.aswf.io?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to ASWF Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Split Topic
The new topic will begin with this message. Subject of the new topic:
1 - 1 of 1
previous page
1
next page
Previous Topic
Next Topic
More Options
More
Home
Hashtags
Subgroups
Calendar
Terms
Toggle navigation
Terms
©
2023
Groups.io