pan/bi: Enable precision lowering in standalone compiler

..since there's no CAP to guide here.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
This commit is contained in:
Alyssa Rosenzweig 2020-03-27 14:39:18 -04:00 committed by Marge Bot
parent 683cd9b6f4
commit 77e04eb2e2

View file

@ -43,8 +43,9 @@ compile_shader(char **argv, bool vertex_only)
};
struct standalone_options options = {
.glsl_version = 430,
.glsl_version = 300, /* ES - needed for precision */
.do_link = true,
.lower_precision = true
};
static struct gl_context local_ctx;