Re: [Mesa-dev] [PATCH] glsl: fix compat shaders in GLSL 1.40

2018-04-11 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Apr 11, 2018 at 7:54 PM, Timothy Arceri wrote: > On 12/04/18 09:29, Timothy Arceri wrote: > >> The compatibility and core tokens were not added until GLSL 1.50, >> for GLSL 1.40 just assume all shader built with a compat profile >> are compat shaders. >>

Re: [Mesa-dev] [PATCH] glsl: fix compat shaders in GLSL 1.40

2018-04-11 Thread Timothy Arceri
On 12/04/18 09:29, Timothy Arceri wrote: The compatibility and core tokens were not added until GLSL 1.50, for GLSL 1.40 just assume all shader built with a compat profile are compat shaders. Fixes rendering issues in Dawn of War II on radeonsi which has enabled OpenGL 3.1 compat support. oh a

[Mesa-dev] [PATCH] glsl: fix compat shaders in GLSL 1.40

2018-04-11 Thread Timothy Arceri
The compatibility and core tokens were not added until GLSL 1.50, for GLSL 1.40 just assume all shader built with a compat profile are compat shaders. Fixes rendering issues in Dawn of War II on radeonsi which has enabled OpenGL 3.1 compat support. Bugzilla: https://bugs.freedesktop.org/show_bug.