[Mesa-dev] [PATCH 8/9] softpipe: enable PIPE_CAP_COPY_IMAGE
Brian Paul
brianp at vmware.com
Mon Aug 24 16:04:29 PDT 2015
This enables GL_ARB_copy_image for softpipe.
---
src/gallium/drivers/softpipe/sp_screen.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 24d79f1..7c60f56 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -243,8 +243,9 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_RESOURCE_FROM_USER_MEMORY:
case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
- case PIPE_CAP_COPY_IMAGE:
return 0;
+ case PIPE_CAP_COPY_IMAGE:
+ return 1;
}
/* should only get here on unhandled cases */
debug_printf("Unexpected PIPE_CAP %d query\n", param);
--
1.9.1
More information about the mesa-dev
mailing list