mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
aaf78eadf3
commit
5fdbb0868a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue