Minor clarification

This commit is contained in:
rdb 2010-02-17 09:55:16 +00:00
parent 29b376c1e3
commit b9f4cec283

View File

@ -441,6 +441,9 @@ compile_parameter(const ShaderArgId &arg_id,
if (loc < string::npos) {
basename = p._id._name.substr(loc + 1);
}
// Ignore inputs that are prefixed by two underscores
// This is to support geometry shaders correctly.
if (basename.size() >= 2 && basename.substr(0, 2) == "__") {
return true;
}