[PATCH 3/5] wined3d: Handle point sprites with PS 3.0.
hverbeet at gmail.com
Wed Jun 3 05:46:28 CDT 2015
On 2 June 2015 at 16:39, Matteo Bruni <mbruni at codeweavers.com> wrote:
> + else if (args->pointsprite && shader_match_semantic(semantic_name, WINED3D_DECL_USAGE_TEXCOORD))
> + shader_addline(buffer, "ps_in[%u].xy = vec2(gl_PointCoord.x, gl_PointCoord.y);\n", input->register_idx);
Why not "ps_in[%u].xy = gl_PointCoord.xy;\n"? Also, do the z and w
components have a defined value?
More information about the wine-devel