gallium/frontends/dri: Don't force dri cursor buffers to be 64x64
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38841>
This commit is contained in:
stefan11111 2025-12-06 21:13:57 +02:00 committed by Marge Bot
parent 3f37740762
commit ff8df8712e

View file

@ -987,8 +987,6 @@ dri_create_image(struct dri_screen *screen,
if (use & __DRI_IMAGE_USE_LINEAR) if (use & __DRI_IMAGE_USE_LINEAR)
tex_usage |= PIPE_BIND_LINEAR; tex_usage |= PIPE_BIND_LINEAR;
if (use & __DRI_IMAGE_USE_CURSOR) { if (use & __DRI_IMAGE_USE_CURSOR) {
if (width != 64 || height != 64)
return NULL;
tex_usage |= PIPE_BIND_CURSOR; tex_usage |= PIPE_BIND_CURSOR;
} }
if (use & __DRI_IMAGE_USE_PROTECTED) if (use & __DRI_IMAGE_USE_PROTECTED)