Mesa (master): panfrost: Allow PIPE_TEXTURE_1D_ARRAY textures
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 28 13:47:20 UTC 2020
Module: Mesa
Branch: master
Commit: d136fa17acaa079d8499548ddaf12211a4ca62e7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d136fa17acaa079d8499548ddaf12211a4ca62e7
Author: Icecream95 <ixn at keemail.me>
Date: Mon Jul 27 21:55:59 2020 +1200
panfrost: Allow PIPE_TEXTURE_1D_ARRAY textures
Fixes a crash with wined3d.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6085>
---
src/gallium/drivers/panfrost/pan_resource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c
index f03cd9c4ea3..08ec83cd195 100644
--- a/src/gallium/drivers/panfrost/pan_resource.c
+++ b/src/gallium/drivers/panfrost/pan_resource.c
@@ -484,6 +484,7 @@ panfrost_resource_create(struct pipe_screen *screen,
case PIPE_TEXTURE_3D:
case PIPE_TEXTURE_CUBE:
case PIPE_TEXTURE_RECT:
+ case PIPE_TEXTURE_1D_ARRAY:
case PIPE_TEXTURE_2D_ARRAY:
break;
default:
More information about the mesa-commit
mailing list