https://bugs.freedesktop.org/show_bug.cgi?id=106052

--- Comment #25 from Timothy Arceri <t_arc...@yahoo.com.au> ---
(In reply to b...@besd.de from comment #20)
> All it takes is
> 
> -   if (consts->GLSLVersion >= 400)
> +   if (consts->GLSLVersion >= 150)
>        extensions->ARB_gpu_shader5 = GL_TRUE;
> 
> and everything is fine (well not everything but that is ;)

The decision to use GLSL 4.00 seems to have been made because of the complex
interactions of the spec:

commit 6f1edf3cbf0ce4cb8e95f2d8bd68c9c26d3f840c
Author: Ilia Mirkin <imir...@alum.mit.edu>
Date:   Sat Aug 9 20:00:20 2014 -0400

    mesa/st: enable ARB_gpu_shader5 if the reported GLSL version >= 400

    The ARB_gpu_shader5 extension is made up of a lot of small sub-parts.
    Instead of adding PIPE_CAP's for each of these, just rely on the GLSL
    version reported by the pipe driver. The remaining extensions lend
    themselves naturally to being checked through a single CAP.

    Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>
    Reviewed-by: Marek Olšák <marek.ol...@amd.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to