summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-17 13:46:43 -0700
committerJason Ekstrand <[email protected]>2016-05-23 19:12:34 -0700
commit75d10dff0bda6de2a31e26eb8e950adc5fd3994e (patch)
tree7bbac69725aaf074b02a5b0408eb51584544ec5b
parent1a092fcf3bd673074d5b0b6794858c3f050aa969 (diff)
i965: Enable ARB/KHR_robust_buffer_access_behavior on BYT and HSW+
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--docs/GL3.txt4
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 66619d78308..ff940ff3f8e 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 0f0d1ce94bd..6ed55036c3f 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;
}