[14/23] wined3d: Increase vertex and fragment sampler limit.

Matteo Bruni matteo.mystral at gmail.com
Sun Nov 13 16:43:49 CST 2016


2016-11-13 12:35 GMT-06:00 Andrew Wesie <awesie at gmail.com>:
> Signed-off-by: Andrew Wesie <awesie at gmail.com>
> ---
>  dlls/wined3d/wined3d_private.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
> index d23b7ef..97f3265 100644
> --- a/dlls/wined3d/wined3d_private.h
> +++ b/dlls/wined3d/wined3d_private.h
> @@ -176,8 +176,8 @@ static inline enum complex_fixup get_complex_fixup(struct color_fixup_desc fixup
>  #define MAX_STREAM_OUT              4
>  #define MAX_STREAMS                 16
>  #define MAX_TEXTURES                8
> -#define MAX_FRAGMENT_SAMPLERS       16
> -#define MAX_VERTEX_SAMPLERS         4
> +#define MAX_FRAGMENT_SAMPLERS       32
> +#define MAX_VERTEX_SAMPLERS         32
>  #define MAX_COMBINED_SAMPLERS       (MAX_FRAGMENT_SAMPLERS + MAX_VERTEX_SAMPLERS)
>  #define MAX_ACTIVE_LIGHTS           8
>  #define MAX_CLIP_DISTANCES          WINED3DMAXUSERCLIPPLANES

I don't think this is how we want to solve this. See bug 41213 comment
6 and 8 for my point of view on the matter.



More information about the wine-devel mailing list