diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-27 14:39:18 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 01:12:26 +0000 |
commit | 77e04eb2e2e0170343ab424f51ace3fbc175cb77 (patch) | |
tree | 8335f9004087c2ca50292c9c8e00774b2a645393 /src | |
parent | 683cd9b6f4f8c7c9531b39c5c5ef6f21a5396ea5 (diff) |
pan/bi: Enable precision lowering in standalone compiler
..since there's no CAP to guide here.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/bifrost/cmdline.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |