[Mesa-dev] [PATCH] i965: Properly reject __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS when __DRI2_ROBUSTNESS is not enabled

Matt Turner mattst88 at gmail.com
Wed Nov 27 14:54:07 PST 2013


On Tue, Nov 26, 2013 at 5:11 PM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Only allow __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS in brwCreateContext if
> intelInitScreen2 also enabled __DRI2_ROBUSTNESS (thereby enabling
> GLX_ARB_create_context).
>
> This fixes a regression in the piglit test
> "glx/GLX_ARB_create_context/invalid flag"
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Reported-by: Paul Berry <stereotype441 at gmail.com>
> Cc: "10.0" <mesa-stable at lists.freedesktop.org>
> ---
> The patch that causes the regression (9b1c686) hasn't been picked to
> 10.0 yet, so this patch should get squashed with it when they're both
> picked.

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list