projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
683cd9b
)
pan/bi: Enable precision lowering in standalone compiler
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Fri, 27 Mar 2020 18:39:18 +0000
(14:39 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000
(
01:12
+0000)
..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>
src/panfrost/bifrost/cmdline.c
patch
|
blob
|
history
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;