mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r200: fix fog coordinate emit
Noticed by dungeon on phoronix:
http://phoronix.com/forums/showthread.php?65408-Radeon-R100-R200-Mesa-Driver-Sees-Attention&p=247018#post247018
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Note: this is a candidate for the stable branches.
(cherry picked from commit afdd6f8c34)
This commit is contained in:
parent
bf7407f631
commit
e72cbdf395
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ static void r200_emit_vecfog(struct gl_context *ctx, struct radeon_aos *aos,
|
|||
count = 1;
|
||||
aos->stride = 0;
|
||||
} else {
|
||||
radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * 4, 32);
|
||||
radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * count * 4, 32);
|
||||
aos->stride = size;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue