projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3535797
)
freedreno/ir3: also lower lowp frag outputs
author
Rob Clark
<robdclark@chromium.org>
Wed, 4 Mar 2020 20:06:30 +0000
(12:06 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 10 Mar 2020 16:01:39 +0000
(16:01 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4071>
src/freedreno/ir3/ir3_shader.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_shader.c
b/src/freedreno/ir3/ir3_shader.c
index efa9359a976973ad4691f2d7123620745c28853e..ff5bdf4b3d68932b9e881e8406f4f6391d7b3381 100644
(file)
--- a/
src/freedreno/ir3/ir3_shader.c
+++ b/
src/freedreno/ir3/ir3_shader.c
@@
-289,7
+289,8
@@
lower_output_var(nir_shader *nir, int location)
{
nir_foreach_variable(var, &nir->outputs) {
if (var->data.driver_location == location &&
- var->data.precision == GLSL_PRECISION_MEDIUM) {
+ ((var->data.precision == GLSL_PRECISION_MEDIUM) ||
+ (var->data.precision == GLSL_PRECISION_LOW))) {
if (glsl_get_base_type(var->type) == GLSL_TYPE_FLOAT)
var->type = glsl_float16_type(var->type);