projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pan/bi: Enable precision lowering in standalone compiler
[mesa.git]
/
src
/
panfrost
/
bifrost
/
cmdline.c
diff --git
a/src/panfrost/bifrost/cmdline.c
b/src/panfrost/bifrost/cmdline.c
index 9d059f6d6323b082f1906e7d8caae62e2172eea1..24dd3c2d5a5582050af07b72467e32a0608803a1 100644
(file)
--- 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;