zink: enable PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8151>
This commit is contained in:
committed by
Marge Bot
parent
1ebba319cf
commit
c28ca18991
@@ -237,10 +237,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
|
||||
return screen->info.props.limits.maxGeometryTotalOutputComponents;
|
||||
|
||||
#if 0 /* TODO: Enable me. Enables ARB_texture_gather */
|
||||
case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
|
||||
return 4;
|
||||
#endif
|
||||
|
||||
case PIPE_CAP_MIN_TEXTURE_GATHER_OFFSET:
|
||||
return screen->info.props.limits.minTexelGatherOffset;
|
||||
|
||||
Reference in New Issue
Block a user