summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-02-15 23:19:44 +0100
committerJerome Glisse <jglisse@redhat.com>2010-02-15 23:19:44 +0100
commit36a7c4478d4fcc9bcd4d937676960a87cd52386d (patch)
treed64813d24ba5fa82a4d0d13862fa38e5c651903d
parentc3bb9a0870d5e886aa547d99f6bd39c498113c8d (diff)
vs & fs share same resource space
-rw-r--r--r600_atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/r600_atom.c b/r600_atom.c
index a91ee26..5042056 100644
--- a/r600_atom.c
+++ b/r600_atom.c
@@ -1683,7 +1683,7 @@ static int r600_batches_flush_locked(struct radeon_device *rdev, struct r600_bat
for (i = 0; i < batches->nfs_resources; i++) {
r600_emit_resources(rdev, batches->ib, batches->fs_resource[i].bo,
- (batches->fs_resource[i].resource_id + 320) * 7,
+ (batches->fs_resource[i].resource_id + 160) * 7,
batches->fs_resource[i].sq_vtx_constant_word0,
radeon_bo_size(batches->fs_resource[i].bo) -
batches->fs_resource[i].sq_vtx_constant_word0,