diff options
author | Jerome Glisse <[email protected]> | 2010-09-28 08:59:47 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-28 09:51:08 -0400 |
commit | 5a38cec7c807db07a6e8f1f2557fa75778a19763 (patch) | |
tree | 6c93a7a7520e4b503634fa122abc01cea2131edf /src/gallium/drivers/r600/r600_texture.c | |
parent | e0b93c5bebab8ebd2e387d6031f97c6bc4328dbf (diff) |
r600g: use ptr for blit depth uncompress function
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 16468c9b1a9..c24aaeefa77 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -234,6 +234,8 @@ static unsigned int r600_texture_is_referenced(struct pipe_context *context, return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE; } +int (*r600_blit_uncompress_depth_ptr)(struct pipe_context *ctx, struct r600_resource_texture *texture); + int r600_texture_depth_flush(struct pipe_context *ctx, struct pipe_resource *texture) { @@ -263,7 +265,7 @@ int r600_texture_depth_flush(struct pipe_context *ctx, } out: - r600_blit_uncompress_depth(ctx, rtex); + r600_blit_uncompress_depth_ptr(ctx, rtex); return 0; } |