[Mesa-dev] [PATCH v3 16/16] i965: Enable ARB/KHR_robust_buffer_access_behavior on BYT and HSW+
Jason Ekstrand
jason at jlekstrand.net
Fri May 20 23:53:27 UTC 2016
---
docs/GL3.txt | 4 ++--
src/mesa/drivers/dri/i965/intel_extensions.c | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 7e86f5e..c8952a1 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -177,7 +177,7 @@ GL 4.3, GLSL 4.30:
GL_ARB_invalidate_subdata DONE (all drivers)
GL_ARB_multi_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe, swr)
GL_ARB_program_interface_query DONE (all drivers)
- GL_ARB_robust_buffer_access_behavior DONE (radeonsi)
+ GL_ARB_robust_buffer_access_behavior DONE (i965, radeonsi)
GL_ARB_shader_image_size DONE (i965, radeonsi, softpipe)
GL_ARB_shader_storage_buffer_object DONE (i965, nvc0, radeonsi, softpipe)
GL_ARB_stencil_texturing DONE (i965/gen8+, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr)
@@ -218,7 +218,7 @@ GL 4.5, GLSL 4.50:
GL_ARB_shader_texture_image_samples DONE (i965, nv50, nvc0, r600, radeonsi)
GL_ARB_texture_barrier DONE (i965, nv50, nvc0, r600, radeonsi)
GL_KHR_context_flush_control DONE (all - but needs GLX/EGL extension to be useful)
- GL_KHR_robust_buffer_access_behavior not started
+ GL_KHR_robust_buffer_access_behavior DONE (i965)
GL_KHR_robustness not started (90% done with the ARB variant)
GL_EXT_shader_integer_mix DONE (all drivers that support GLSL)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 878bd84..51f7ada 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -370,6 +370,11 @@ intelInitExtensions(struct gl_context *ctx)
}
}
+ if (brw->gen >= 8 || brw->is_haswell || brw->is_baytrail) {
+ ctx->Extensions.ARB_robust_buffer_access_behavior = true;
+ ctx->Extensions.KHR_robust_buffer_access_behavior = true;
+ }
+
if (brw->intelScreen->has_mi_math_and_lrr) {
ctx->Extensions.ARB_query_buffer_object = true;
}
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list