From 27286d7e9c860a3ff1f452f38db660aeacf7dc88 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 13 Jan 2019 20:50:37 -0800 Subject: Fixed couple of issues in HLSL2GLSLConverterImpl and TextureUploaderGL --- Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/HLSL2GLSLConverterLib') diff --git a/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp b/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp index b7e234bb..7901aab7 100644 --- a/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp +++ b/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp @@ -3885,7 +3885,7 @@ void HLSL2GLSLConverterImpl::ConversionStream::ProcessDomainShaderArguments( Tok auto VarName = BuildParameterName(MemberStack, '_', "_dsin_"); auto InputVarName = VarName + (IsPatch ? "[i]" : ""); // User-defined inputs can be declared as unbounded arrays - DefineInterfaceVar( inLocation++, RequiresFlatQualifier(Param.Type) ? "flat out" : "in", Param.Type, VarName + (IsPatch ? "[]" : ""), InterfaceVarsInSS ); + DefineInterfaceVar( inLocation++, RequiresFlatQualifier(Param.Type) ? "flat in" : "in", Param.Type, VarName + (IsPatch ? "[]" : ""), InterfaceVarsInSS ); InitVariable( FullIndexedParamName, InputVarName, PrologueSS ); } else -- cgit v1.2.3