Commit beb4ffea authored by Christopher Tenter's avatar Christopher Tenter

fix prefix bug in shader generator IO

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20596 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5fd60112
......@@ -349,19 +349,19 @@ void ShaderGenerator::defineIOAbstraction( const DefaultIODesc* _iodesc, bool _v
{
addDefine(QString(SG_INPUT_POSVS) + QString(" ") + inputPrefix_ + QString("PosVS"));
if (!_fs)
addDefine(QString(SG_OUTPUT_POSVS) + QString(" ") + inputPrefix_ + QString("PosVS"));
addDefine(QString(SG_OUTPUT_POSVS) + QString(" ") + outputPrefix_ + QString("PosVS"));
}
if (_iodesc->passPosOS_)
{
addDefine(QString(SG_INPUT_POSOS) + QString(" ") + inputPrefix_ + QString("PosOS"));
if (!_fs)
addDefine(QString(SG_OUTPUT_POSOS) + QString(" ") + inputPrefix_ + QString("PosOS"));
addDefine(QString(SG_OUTPUT_POSOS) + QString(" ") + outputPrefix_ + QString("PosOS"));
}
addDefine(QString(SG_INPUT_POSCS) + QString(" ") + inputPrefix_ + QString("PosCS"));
if (!_fs)
addDefine(QString(SG_OUTPUT_POSCS) + QString(" ") + inputPrefix_ + QString("PosCS"));
addDefine(QString(SG_OUTPUT_POSCS) + QString(" ") + outputPrefix_ + QString("PosCS"));
if (_iodesc->passNormalVS_)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment