zink: start out with 256x256 sized dummy surfaces
4096 is huge. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27684>
This commit is contained in:
committed by
Marge Bot
parent
aaf78eadf3
commit
5fdbb0868a
@@ -2744,7 +2744,7 @@ static unsigned
|
||||
calc_max_dummy_fbo_size(struct zink_context *ctx)
|
||||
{
|
||||
unsigned size = MAX2(ctx->fb_state.width, ctx->fb_state.height);
|
||||
return size ? size : MIN2(4096, zink_screen(ctx->base.screen)->info.props.limits.maxImageDimension2D);
|
||||
return size ? size : MIN2(256, zink_screen(ctx->base.screen)->info.props.limits.maxImageDimension2D);
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
||||
Reference in New Issue
Block a user