mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
Revert "r600g: use S_028B20_BUFFER_0_EN macro for streamout buffer enable"
This reverts commit d6cd514edb.
It broke multiple streamout buffers, because it only enabled the first one.
This commit is contained in:
parent
9895f77249
commit
3d993aff25
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue