r600g: split resource emit path from main register emit path
authorDave Airlie <airlied@redhat.com>
Tue, 7 Jun 2011 03:21:02 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2011 01:47:00 +0000 (11:47 +1000)
commitba78a5a679b3f6b00d0f2070bb1ab6d56443ab16
treed969041ab551dbc38ba4e7c67e9cd732427c2c73
parentff8717527dd8b0313905c67712428fa5d4647d9b
r600g: split resource emit path from main register emit path

Since resources don't generally vary in size, this splits
the emit path, it also takes into a/c that texture and vertex resources
have different number of relocs, and avoids emitting the extra
reloc for vertex resources.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600.h
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h