OSDN Git Service

r600g: don't need to call the packet dirty function if not dirty.
authorDave Airlie <airlied@redhat.com>
Fri, 3 Jun 2011 05:24:55 +0000 (15:24 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Jun 2011 23:25:50 +0000 (09:25 +1000)
commit6cd3534676a58e92ac479eee7040df2ad27fdac0
treeeedc5b5fbf330c6671a633ba6c70ad5eacb4d884
parent2292025c49f2165b59f578c926d320913b08b1b5
r600g: don't need to call the packet dirty function if not dirty.

also fix a unneeded dirty check and add a dirty check speedup.

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