[Mesa-dev] [PATCH] st/mesa: allow glsl version up to 420
Samuel Pitoiset
samuel.pitoiset at gmail.com
Sun Mar 27 19:20:16 UTC 2016
On 03/27/2016 05:46 PM, Marek Olšák wrote:
> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Thanks but actually this patch no longer applies and it is useless since
https://cgit.freedesktop.org/cgit/?url=mesa/mesa/commit/&id=2df141087a56da20ad50b379b4a63426b870344a
>
> Marek
>
> On Fri, Mar 25, 2016 at 12:30 AM, Samuel Pitoiset
> <samuel.pitoiset at gmail.com> wrote:
>> radeonsi and nouveau are pretty close to have OpenGL 4.2.
>>
>> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
>> ---
>> src/mesa/state_tracker/st_extensions.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
>> index 2fdaba0..113a5c0 100644
>> --- a/src/mesa/state_tracker/st_extensions.c
>> +++ b/src/mesa/state_tracker/st_extensions.c
>> @@ -848,8 +848,8 @@ void st_init_extensions(struct pipe_screen *screen,
>> glsl_feature_level = screen->get_param(screen, PIPE_CAP_GLSL_FEATURE_LEVEL);
>>
>> consts->GLSLVersion = glsl_feature_level;
>> - if (glsl_feature_level >= 410)
>> - consts->GLSLVersion = 410;
>> + if (glsl_feature_level >= 420)
>> + consts->GLSLVersion = 420;
>>
>> _mesa_override_glsl_version(consts);
>>
>> --
>> 2.7.4
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list