From: Alyssa Rosenzweig Date: Fri, 27 Mar 2020 18:39:18 +0000 (-0400) Subject: pan/bi: Enable precision lowering in standalone compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77e04eb2e2e0170343ab424f51ace3fbc175cb77;p=mesa.git pan/bi: Enable precision lowering in standalone compiler ..since there's no CAP to guide here. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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;