[Mesa-dev] [PATCH 3/4] st/dri: use image extension in drisw.c
gurchetansingh at chromium.org
gurchetansingh at chromium.org
Fri Jun 9 00:27:56 UTC 2017
From: Gurchetan Singh <gurchetansingh at chromium.org>
This adds the image extension to the software GL implementation.
---
src/gallium/state_trackers/dri/drisw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c
index 8fbfa9ecea..45772532f3 100644
--- a/src/gallium/state_trackers/dri/drisw.c
+++ b/src/gallium/state_trackers/dri/drisw.c
@@ -371,6 +371,7 @@ static const __DRIextension *drisw_screen_extensions[] = {
&dri2RendererQueryExtension.base,
&dri2ConfigQueryExtension.base,
&dri2FenceExtension.base,
+ &dri2ImageExtension.base,
NULL
};
@@ -409,6 +410,8 @@ drisw_init_screen(__DRIscreen * sPriv)
if (!configs)
goto fail;
+ dri2_init_image_extension(screen);
+
return configs;
fail:
dri_destroy_screen_helper(screen);
--
2.12.2
More information about the mesa-dev
mailing list