projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216cf86
)
radeonsi: don't rely on shader->output in si_llvm_emit_fs_epilogue
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 4 Oct 2014 20:09:16 +0000
(22:09 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Sun, 12 Oct 2014 21:52:16 +0000
(23:52 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 85610fa26cde8590aa68a393789dbc17f62f473a..203e5056e0195e09457d79110d0018f9af213d3d 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-1466,7
+1466,7
@@
static void si_llvm_emit_fs_epilogue(struct lp_build_tgsi_context * bld_base)
/* Handle FS_COLOR0_WRITES_ALL_CBUFS. */
if (shader->selector->info.properties[TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS] &&
-
shader->output[i].sid
== 0 &&
+
d->Semantic.Index
== 0 &&
si_shader_ctx->shader->key.ps.last_cbuf > 0) {
for (int c = 1; c <= si_shader_ctx->shader->key.ps.last_cbuf; c++) {
si_llvm_init_export_args_load(bld_base,