mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
- Removed the outer pixel cropping, it causes blur in some games. (I knew I should've done it elsewhere :p ) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2248 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b288e82b95
commit
651a73a16c
|
@ -226,7 +226,7 @@ bool GSRenderer::Merge(int field)
|
||||||
GSVector4 scale = GSVector4(tex[i]->GetScale()).xyxy();
|
GSVector4 scale = GSVector4(tex[i]->GetScale()).xyxy();
|
||||||
|
|
||||||
src[i] = GSVector4(r) * scale / GSVector4(tex[i]->GetSize()).xyxy();
|
src[i] = GSVector4(r) * scale / GSVector4(tex[i]->GetSize()).xyxy();
|
||||||
src[i] += GSVector4(0.001f,0.001f,-0.001f,-0.001f); // crop a few of the outermost pixels, which are often buggy
|
//src[i] += GSVector4(0.001f,0.001f,-0.001f,-0.001f); // crop a few of the outermost pixels, which are often buggy. Note: causes blur
|
||||||
|
|
||||||
GSVector2 o(0, 0);
|
GSVector2 o(0, 0);
|
||||||
|
|
||||||
|
@ -575,6 +575,7 @@ void GSRenderer::GetTextureMinMax(GSVector4i& r, bool linear)
|
||||||
if(vr.w > uv.w + 1) vr.w = uv.w + 1;
|
if(vr.w > uv.w + 1) vr.w = uv.w + 1;
|
||||||
break;
|
break;
|
||||||
case CLAMP_REGION_REPEAT: // TODO
|
case CLAMP_REGION_REPEAT: // TODO
|
||||||
|
printf("gsdx: CLAMP_REGION_REPEAT not implemented, please report\n");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
__assume(0);
|
__assume(0);
|
||||||
|
|
Loading…
Reference in New Issue