From 77e04eb2e2e0170343ab424f51ace3fbc175cb77 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Mar 2020 14:39:18 -0400 Subject: [PATCH] pan/bi: Enable precision lowering in standalone compiler ..since there's no CAP to guide here. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/cmdline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/cmdline.c b/src/panfrost/bifrost/cmdline.c index 9d059f6d632..24dd3c2d5a5 100644 --- a/src/panfrost/bifrost/cmdline.c +++ b/src/panfrost/bifrost/cmdline.c @@ -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; -- 2.30.2