[PATCH] wined3d: Test and enable ARB_gpu_shader5 in shaders.

Józef Kucia joseph.kucia at gmail.com
Mon Jul 18 07:31:20 CDT 2016


As it was already mentioned the plan was to use GLSL 4.30 for shader
model 5. However, it shouldn't be much of a burden to also support SM5
bitwise opcodes with ARB_gpu_shader5. Apart from that the other issue
is that adding newer OpenGL extensions is generally blocked by bug
38648 [1]. The main reason is that it cannot be tested in the current
version of Wine with drivers which do not support compatibility
profiles.

On Fri, Jul 15, 2016 at 2:25 PM, Guillaume Charifi
<guillaume.charifi at sfr.fr> wrote:
> +    if (gl_info->supported[ARB_GPU_SHADER5])
> +        shader_addline(buffer, "#extension GL_ARB_gpu_shader5 : enable\n");
>      if (gl_info->supported[ARB_SHADER_BIT_ENCODING])
>          shader_addline(buffer, "#extension GL_ARB_shader_bit_encoding : enable\n");
>      if (gl_info->supported[ARB_SHADER_TEXTURE_LOD])

These should be sorted alphabetically.

I guess the ARB_gpu_shader5 extension should also be added to the
"core_extensions" table.

[1] - https://bugs.winehq.org/show_bug.cgi?id=38648



More information about the wine-devel mailing list