wined3d: Make use_vs() and use_ps() work on a stateblock instead of a device.
commit2b926db50d04d4cfb0c8c7cfed0536a24074bf7e
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 30 Dec 2008 13:56:49 +0000 (30 14:56 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 31 Dec 2008 11:25:56 +0000 (31 12:25 +0100)
treed1e1640a057d67984a74a2e775515a20b49bdbaa
parent6db201080f74dece1a31a0d516ecbad983ca2b9e
wined3d: Make use_vs() and use_ps() work on a stateblock instead of a device.

Most callers work on a stateblock rather than a device, and the main fields
we check (vertexShader and pixelShader) are part of the stateblock as well.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/ati_fragment_shader.c
dlls/wined3d/device.c
dlls/wined3d/drawprim.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/nvidia_texture_shader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/state.c
dlls/wined3d/vertexbuffer.c
dlls/wined3d/wined3d_private.h