HLSL: add in/out/inout qualifiers.

This commit is contained in:
LoopDawg
2016-07-12 20:44:32 -06:00
parent f02bea288f
commit 9249c709b0
6 changed files with 264 additions and 0 deletions

View File

@@ -478,6 +478,15 @@ void HlslGrammar::acceptQualifier(TQualifier& qualifier)
case EHTokPrecise:
qualifier.noContraction = true;
break;
case EHTokIn:
qualifier.storage = EvqIn;
break;
case EHTokOut:
qualifier.storage = EvqOut;
break;
case EHTokInOut:
qualifier.storage = EvqInOut;
break;
default:
return;
}