wined3d: Ask the ffp/shader/blit implementation about format support.
commitbfe7067973c38c3974389b68143259db2e46e97b
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 7 Aug 2008 19:51:35 +0000 (7 14:51 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 20 Aug 2008 10:26:02 +0000 (20 12:26 +0200)
tree09b7b791d68e6f69efdc4322c2de7e8fdf1a04df
parent438b6bd4c3d82736076a5a55f428a19c54513e35
wined3d: Ask the ffp/shader/blit implementation about format support.

If a format is not supported natively by opengl, a shader may be able
to convert it. Up to now, CheckDeviceFormat had magic knowldge which
GL extensions lead to which supported format. This patch adds
functions that allow CheckDeviceFormat to ask the actual
implementation for its capabilities.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/ati_fragment_shader.c
dlls/wined3d/baseshader.c
dlls/wined3d/directx.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/nvidia_texture_shader.c
dlls/wined3d/state.c
dlls/wined3d/surface.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private.h