panfrost: Advertise all textures in drm-shim
I was rather confused when I couldn't reproduce an ASTC bug under drm-shim... Fix that. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15991>
This commit is contained in:
parent
65caf46b3b
commit
9ccba4943d
|
@ -66,8 +66,12 @@ pan_ioctl_get_param(int fd, unsigned long request, void *arg)
|
|||
case DRM_PANFROST_PARAM_TILER_FEATURES:
|
||||
gp->value = 0x809;
|
||||
return 0;
|
||||
case DRM_PANFROST_PARAM_GPU_REVISION:
|
||||
case DRM_PANFROST_PARAM_TEXTURE_FEATURES0:
|
||||
case DRM_PANFROST_PARAM_TEXTURE_FEATURES1:
|
||||
/* Allow all compressed textures */
|
||||
gp->value = ~0;
|
||||
return 0;
|
||||
case DRM_PANFROST_PARAM_GPU_REVISION:
|
||||
case DRM_PANFROST_PARAM_THREAD_TLS_ALLOC:
|
||||
case DRM_PANFROST_PARAM_AFBC_FEATURES:
|
||||
gp->value = 0;
|
||||
|
|
Loading…
Reference in New Issue