[PATCH 3/5] wined3d: Handle point sprites with PS 3.0.
matteo.mystral at gmail.com
Wed Jun 3 09:28:21 CDT 2015
2015-06-03 12:46 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:
> 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?
Eh, I planned to test the .zw components but I forgot...
More information about the wine-devel