Filtering fix for out of bounds blit

Removed a conversion to integer which was removing all subpixel
precision from coordinates when using clampToEdge.

Passes all out of bounds cases (this cl should only affect these cases).

Fixes:
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_linear_out_of_bounds_blit_from_default

Change-Id: Id7cef212ea2b739ef22148779dbc1228628e4440
Reviewed-on: https://swiftshader-review.googlesource.com/15988
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Renderer/Blitter.cpp b/src/Renderer/Blitter.cpp
index efb2cad..ce0c6d5 100644
--- a/src/Renderer/Blitter.cpp
+++ b/src/Renderer/Blitter.cpp
@@ -1315,8 +1315,8 @@
 
 							if(state.clampToEdge)
 							{
-								X = Float(Clamp(Int(x), 0, sWidth - 1));
-								Y = Float(Clamp(Int(y), 0, sHeight - 1));
+								X = Min(Max(x, 0.5f), Float(sWidth) - 0.5f);
+								Y = Min(Max(y, 0.5f), Float(sHeight) - 0.5f);
 							}
 
 							Float x0 = X - 0.5f;