HLSL: fix handling of uniform qualifier in entry point parameters (#2254)
* HLSL: Fix handling of uniforms in entry point parameters * HLSL: fix handling of "uniform in" * Tests: Update baseResults of hlsl.function.frag.out for #2254 * HLSL: fix uniforms in function parameters for opaque types
This commit is contained in:
@@ -697,7 +697,9 @@ bool HlslGrammar::acceptQualifier(TQualifier& qualifier)
|
||||
qualifier.noContraction = true;
|
||||
break;
|
||||
case EHTokIn:
|
||||
qualifier.storage = (qualifier.storage == EvqOut) ? EvqInOut : EvqIn;
|
||||
if (qualifier.storage != EvqUniform) {
|
||||
qualifier.storage = (qualifier.storage == EvqOut) ? EvqInOut : EvqIn;
|
||||
}
|
||||
break;
|
||||
case EHTokOut:
|
||||
qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
|
||||
|
||||
Reference in New Issue
Block a user