Change-Id: I19de1f5e4e8a690afed2ac7fb2050659a90fa670
Reviewed-on: https://swiftshader-review.googlesource.com/16848
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
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);
}