projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b375f8
)
r600g: clarify meaning of one variable in shader codegen
author
Marek Olšák
<maraeo@gmail.com>
Tue, 8 Nov 2011 22:19:03 +0000
(23:19 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 8 Nov 2011 23:18:53 +0000
(
00:18
+0100)
It's easier to read now.
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 448e03ae39e7685e3180124973f175a16b96580b..5ce464d1c541be8e5e754363e280311beedf3610 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-897,7
+897,7
@@
static int r600_shader_from_tgsi(struct r600_pipe_context * rctx, struct r600_pi
output[i + j].inst = BC_INST(ctx.bc, V_SQ_CF_ALLOC_EXPORT_WORD1_SQ_CF_INST_EXPORT);
output[i + j].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PIXEL;
}
- j
--
;
+ j
= shader->nr_cbufs-1
;
}
} else if (shader->output[i].name == TGSI_SEMANTIC_POSITION) {
output[i + j].array_base = 61;