projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9895f77
)
Revert "r600g: use S_028B20_BUFFER_0_EN macro for streamout buffer enable"
author
Marek Olšák
<maraeo@gmail.com>
Fri, 27 Jan 2012 16:49:41 +0000
(17:49 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 27 Jan 2012 16:49:41 +0000
(17:49 +0100)
This reverts commit
d6cd514edbeca0de38561f66189748078d0dc602
.
It broke multiple streamout buffers, because it only enabled the first one.
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index d1a7e38a6bbf053ebde548fd8a534b030c1a364d..ad568c64f6335f759bfc5d54314c63b717724f33 100644
(file)
--- a/
src/gallium/drivers/r600/r600_hw_context.c
+++ b/
src/gallium/drivers/r600/r600_hw_context.c
@@
-2031,7
+2031,7
@@
static void r600_set_streamout_enable(struct r600_context *ctx, unsigned buffer_
ctx->pm4[ctx->pm4_cdwords++] = PKT3(PKT3_SET_CONTEXT_REG, 1, 0);
ctx->pm4[ctx->pm4_cdwords++] = (R_028B20_VGT_STRMOUT_BUFFER_EN - R600_CONTEXT_REG_OFFSET) >> 2;
- ctx->pm4[ctx->pm4_cdwords++] =
S_028B20_BUFFER_0_EN(buffer_enable_bit)
;
+ ctx->pm4[ctx->pm4_cdwords++] =
buffer_enable_bit
;
} else {
ctx->pm4[ctx->pm4_cdwords++] = PKT3(PKT3_SET_CONTEXT_REG, 1, 0);
ctx->pm4[ctx->pm4_cdwords++] = (R_028AB0_VGT_STRMOUT_EN - R600_CONTEXT_REG_OFFSET) >> 2;