Commit 471e82c2 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋

zink: export PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE

parent 72c151bb
......@@ -500,6 +500,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_CULL_DISTANCE:
return screen->info.feats.features.shaderCullDistance;
case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE:
/* this is the spec minimum */
return screen->info.feats.features.sparseBinding ? 64 * 1024 : 0;
case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS:
return screen->info.props.limits.viewportSubPixelBits;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment