projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9a9be
)
r600: fix regression in gl_FragColor drawing
author
Dave Airlie
<airlied@redhat.com>
Wed, 14 Feb 2018 03:59:09 +0000
(13:59 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 14 Feb 2018 04:02:41 +0000
(14:02 +1000)
This fixes a regression in the broadcast color to all color bufs case.
Fixes: 6c691081a (r600: fixup sparse color exports.)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 7d60bd90c3c37a98eb2ae01a0be6d2454b2590df..b49c79c0404a2ba456adfc7c071d7a19ce214c06 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-4123,6
+4123,8
@@
static int r600_shader_from_tgsi(struct r600_context *rctx,
output[j].op = CF_OP_EXPORT;
output[j].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PIXEL;
shader->nr_ps_color_exports++;
+ if (k > shader->ps_export_highest)
+ shader->ps_export_highest = k;
shader->ps_color_export_mask |= (0xf << (j * 4));
}
}