Commit a02f8b1e by Alexis Hetu Committed by Alexis Hétu

Fixed warnings treated as errors

Change-Id: I19de1f5e4e8a690afed2ac7fb2050659a90fa670 Reviewed-on: https://swiftshader-review.googlesource.com/16848Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 3833861c
......@@ -3182,9 +3182,9 @@ namespace glsl
int requestedLocation = fragmentOutput->getType().getLayoutQualifier().location;
if((requestedLocation >= 0) && (requestedLocation < sw::RENDERTARGETS))
{
if(fragmentOutputs.size() <= requestedLocation)
if(fragmentOutputs.size() <= (size_t)requestedLocation)
{
while(fragmentOutputs.size() < requestedLocation)
while(fragmentOutputs.size() < (size_t)requestedLocation)
{
fragmentOutputs.push_back(nullptr);
}
......
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