Commit ae8e926f authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋

zink: export PIPE_CAP_SAMPLER_REDUCTION_MINMAX

parent 2457f29f
......@@ -456,6 +456,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MAX_TEXTURE_GATHER_OFFSET:
return screen->info.props.limits.maxTexelGatherOffset;
case PIPE_CAP_SAMPLER_REDUCTION_MINMAX:
return screen->vk_version >= VK_MAKE_VERSION(1,2,0) || screen->info.have_EXT_sampler_filter_minmax ?
PIPE_SAMPLER_REDUCTION_MINMAX_ARB : 0;
case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE:
return 1;
......
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