[PATCH v2 3/7] wined3d: Implement lighting with directional lights in process_vertices_strided().

Paul Gofman gofmanp at gmail.com
Fri May 17 10:18:50 CDT 2019


Do you suggest to use wined3d_ffp_get_vs_settings() directly? It 
probably needs some redesign first for that, as it uses gl_info and 
hardware limits (light count, as well as bitfields in settings 
structure). Or do you mean factoring out some functions like 
init_light_sources() to use in process_vertices_strided() and 
init_light_settings() which would use some more generic structure and 
parameters not to depend on GL limits?


On 5/17/19 17:45, Henri Verbeet wrote:
>
> Here too, it seems like init_transformed_lights() could reuse most of
> wined3d_ffp_get_vs_settings().
>




More information about the wine-devel mailing list