for (int i = 0; i < 4; ++i)
{
if (bits[i] != 0)
- maxValue[i] = static_cast<float>((1 << (bits[i] - signBit)) - 1);
+ maxValue[i] = static_cast<float>((deUint64(1) << (bits[i] - signBit)) - 1);
}
}
case FILL_MODE_RED:
if (tcu::isCombinedDepthStencilType(buffer.getFormat().type))
{
- buffer.setPixDepth(redColor[x % 4], x, y, z);
+ buffer.setPixDepth(redColor[0], x, y, z);
if (tcu::hasStencilComponent(buffer.getFormat().order))
- buffer.setPixStencil(255 * (int)redColor[y % 4], x, y, z);
+ buffer.setPixStencil((int)redColor[3], x, y, z);
}
else
buffer.setPixel(redColor, x, y, z);