wined3d: Test if result.clip[] works correctly.
authorStefan Dösinger <stefan@codeweavers.com>
Mon, 28 Sep 2009 10:30:48 +0000 (12:30 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 28 Sep 2009 15:33:07 +0000 (17:33 +0200)
commit404aecb8daa1306479559b0cf2882de2268ddc44
tree07b268eeb2218f19e7503182310efbde9055df7f
parent77a83aee793b7441c6842347a5451765c79334be
wined3d: Test if result.clip[] works correctly.

The Mac Nvidia driver doesn't implement the result.clip part of
GL_NV_vertex_program2_option correctly. It complains about a syntax
error if "result.clip[0]" is used. "result.clip" compiles correctly, but
supports only one clipplane, and running the shader results in severe
rendering bugs.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/directx.c
dlls/wined3d/wined3d_private.h