mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-13 04:50:29 +01:00
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:
parent
683cd9b6f4
commit
77e04eb2e2
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue