zink: stop enabling minmax filtering when not supported
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18910>
(cherry picked from commit a730b1bb0a
)
This commit is contained in:
@@ -166,7 +166,7 @@
|
||||
"description": "zink: stop enabling minmax filtering when not supported",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
@@ -160,7 +160,8 @@ EXTENSIONS = [
|
||||
conditions=["$feats.shaderSubgroupClock"]),
|
||||
Extension("VK_EXT_sampler_filter_minmax",
|
||||
alias="reduction",
|
||||
properties=True),
|
||||
properties=True,
|
||||
conditions=["$props.filterMinmaxSingleComponentFormats"]),
|
||||
Extension("VK_EXT_custom_border_color",
|
||||
alias="border_color",
|
||||
properties=True,
|
||||
|
@@ -683,7 +683,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||
return screen->info.props.limits.maxTexelGatherOffset;
|
||||
|
||||
case PIPE_CAP_SAMPLER_REDUCTION_MINMAX_ARB:
|
||||
return screen->vk_version >= VK_MAKE_VERSION(1,2,0) || screen->info.have_EXT_sampler_filter_minmax;
|
||||
return screen->info.feats12.samplerFilterMinmax || screen->info.have_EXT_sampler_filter_minmax;
|
||||
|
||||
case PIPE_CAP_FS_FINE_DERIVATIVE:
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user