wined3d: Just check the vertex declaration for point size usage.
commitdb63c8be29fdadf95e4ce2788f5b39e58b0cfe86
authorElizabeth Figura <zfigura@codeweavers.com>
Fri, 3 May 2024 21:42:42 +0000 (3 16:42 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 5 Jun 2024 13:58:35 +0000 (5 15:58 +0200)
treef07e76ff96e673290bb0db5073816a0125b72113
parent392a724fc9fb59d4b82adbca3652962832db87e8
wined3d: Just check the vertex declaration for point size usage.

Do not check the stream info. In practice, this amounts to a difference if the
usage is included in the vertex declaration but the corresponding stream is not
bound. The just-added tests show that in this case it is correct to use
per-vertex point size with a default size of one, rather than treating this case
as equivalent to if the usage was not specified in the vertex declaration.
dlls/d3d9/tests/visual.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/utils.c
dlls/wined3d/vertexdeclaration.c
dlls/wined3d/wined3d_private.h