From cfaf5dfcfb970a4d405e9d5a94248601dfdcd7f0 Mon Sep 17 00:00:00 2001 From: CrystalP Date: Thu, 3 Feb 2011 21:18:36 -0500 Subject: [WIN32] always use bilinear sampling. Simpler and same performance as nearest neighbour --- system/shaders/yuv2rgb_d3d.fx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'system') diff --git a/system/shaders/yuv2rgb_d3d.fx b/system/shaders/yuv2rgb_d3d.fx index 1f39734781..984c032025 100644 --- a/system/shaders/yuv2rgb_d3d.fx +++ b/system/shaders/yuv2rgb_d3d.fx @@ -24,10 +24,6 @@ texture g_UTexture; texture g_VTexture; float4x4 g_ColorMatrix; -#ifdef SINGLEPASS - -// Color conversion + bilinear resize in one pass - sampler YSampler = sampler_state { Texture = ; @@ -37,21 +33,6 @@ sampler YSampler = MagFilter = LINEAR; }; -#else - -// Color conversion only - -sampler YSampler = - sampler_state { - Texture = ; - AddressU = CLAMP; - AddressV = CLAMP; - MinFilter = POINT; - MagFilter = POINT; - }; - -#endif - sampler USampler = sampler_state { Texture = ; -- cgit v1.2.3