[Mesa-dev] [PATCH 1/2] i915: Enable EGL_KHR_gl_texture_3D_image

Adam Jackson ajax at redhat.com
Wed Sep 21 13:30:33 UTC 2016


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 src/mesa/drivers/dri/i915/intel_screen.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 19f7a6a..a78e250 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -748,6 +748,9 @@ i915_query_renderer_integer(__DRIscreen *psp, int param, unsigned int *value)
    case __DRI2_RENDERER_UNIFIED_MEMORY_ARCHITECTURE:
       value[0] = 1;
       return 0;
+   case __DRI2_RENDERER_HAS_TEXTURE_3D:
+      value[0] = 1;
+      return 0;
    default:
       return driQueryRendererIntegerCommon(psp, param, value);
    }
-- 
2.9.3



More information about the mesa-dev mailing list