[PATCH] wined3d: Check GLSL version when using ARB_shader_bit_encoding with uvec4.

Józef Kucia joseph.kucia at gmail.com
Fri Apr 19 05:35:25 CDT 2019


On Thu, Apr 18, 2019 at 7:07 PM Paul Gofman <gofmanp at gmail.com> wrote:
>
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47039
>
> There are GPUs which support ARB_shader_bit_encoding with GLSL
> version 1.2 and uvec4 data type is available since GLSL 1.3.
> Spotted with Intel Ironlake Mobile.
>
> Signed-off-by: Paul Gofman <gofmanp at gmail.com>
> ---

I'm not sure but I think that it could be preferred to disable
ARB_shader_bit_encoding when GLSL version < 1.30. We disable other
extensions conditionally in wined3d_adapter_init_gl_caps(), e.g.
ARB_shader_bit_encoding or ARB_shader_bit_encoding.



More information about the wine-devel mailing list