i915: correctly parse/set the context flags
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 18 Dec 2015 15:28:03 +0000 (15:28 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 22 Jan 2016 11:54:01 +0000 (11:54 +0000)
commit72fda2b710d864d23aec1e8f959147d05c5ff3f3
tree33bbb41514f520c8c4ede5705bae033d2c846a4b
parentab0c7c0829d2e5ac69ca51a8981f3b1b88bd8d01
i915: correctly parse/set the context flags

With an earlier commit we've spit the flags parsing to a separate
function, but forgot to update all the dri modules to use it.

Noticed when we've enabled KHR_debug for every dri module - fdo#93048

Fixes: 38366c0c6e7 "dri_util: Don't assume __DRIcontext->driverPrivate
is a gl_context"
Cc: Mark Janes <mark.a.janes@intel.com>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Cc: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/drivers/dri/i915/intel_context.c