diff options
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 3cf1bb76482..75e8c77cfd2 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1905,7 +1905,7 @@ bool vi_dcc_formats_compatible(enum pipe_format format1, type1 == type2; } -void vi_dcc_disable_if_incompatible_format(struct r600_common_context *rctx, +void vi_disable_dcc_if_incompatible_format(struct r600_common_context *rctx, struct pipe_resource *tex, unsigned level, enum pipe_format view_format) @@ -1945,7 +1945,7 @@ struct pipe_surface *r600_create_surface_custom(struct pipe_context *pipe, surface->height0 = height0; if (texture->target != PIPE_BUFFER) - vi_dcc_disable_if_incompatible_format(rctx, texture, + vi_disable_dcc_if_incompatible_format(rctx, texture, templ->u.tex.level, templ->format); |