wined3d: Floating point shader constant setting.
commitdd93e1fb7f1d889ff40eac8c3a2e8caaf195b836
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 20 Feb 2007 21:43:53 +0000 (20 22:43 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Feb 2007 09:56:01 +0000 (21 10:56 +0100)
treef91008308cf2012babe826afb87cd9e2e58d54a9
parent76b7cac7af4a7da1505a831890397b2d9dc94ea8
wined3d: Floating point shader constant setting.

Test how shader constant limits are checked in Set*ShaderConstantF.
The vertex shader tests it based on the limits reported in the caps,
the pixel shader tests tries to find the limit manually because I
could not find a cap structure member specifying the pixel shader
constant limit.

Set*ShaderConstantF returns an error as soon as start or start + count
are bigger than the constant limit.
dlls/d3d9/tests/shader.c
dlls/wined3d/device.c