diff options
author | Jason Ekstrand <[email protected]> | 2016-05-17 13:46:43 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-23 19:12:34 -0700 |
commit | 75d10dff0bda6de2a31e26eb8e950adc5fd3994e (patch) | |
tree | 7bbac69725aaf074b02a5b0408eb51584544ec5b /src/mesa/drivers | |
parent | 1a092fcf3bd673074d5b0b6794858c3f050aa969 (diff) |
i965: Enable ARB/KHR_robust_buffer_access_behavior on BYT and HSW+
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |