Commit 5da2d3fc by Nicolas Capens

Fix lvalue output parameter assignment.

Output parameters can be any kind of lvalue, such as struct members or array elements. Change-Id: I4dce9dddfa95f58275fe3f6a4acf55532330a8f7 Reviewed-on: https://swiftshader-review.googlesource.com/5570Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 83dfb166
......@@ -1223,7 +1223,7 @@ namespace glsl
if(argument->getQualifier() == EvqOut ||
argument->getQualifier() == EvqInOut)
{
copy(out, argument);
assignLvalue(out, argument);
}
}
}
......
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