=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Only the ARBfp fragement pipeline reads emulated clip coords.
Alexandre Julliard
julliard at winehq.org
Thu Sep 15 12:34:53 CDT 2011
Module: wine
Branch: master
Commit: eb79a2649352bb8f815074e056eef92c65be1197
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb79a2649352bb8f815074e056eef92c65be1197
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Sep 1 18:32:37 2011 +0200
wined3d: Only the ARBfp fragement pipeline reads emulated clip coords.
---
dlls/wined3d/arb_program_shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 43789c6..3cd99be 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -4508,7 +4508,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
else
{
args->ps_signature = ~0;
- if (!device->vs_clipping)
+ if (!device->vs_clipping && device->adapter->fragment_pipe == &arbfp_fragment_pipeline)
{
args->clip.boolclip.clip_texcoord = ffp_clip_emul(state) ? gl_info->limits.texture_stages : 0;
}
More information about the wine-cvs
mailing list