i965: Don't stomp initial kflags for program cache.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Apr 2018 23:01:50 +0000 (16:01 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Apr 2018 18:34:19 +0000 (11:34 -0700)
commitbde12f75e1de264319a8102710cc8fe306d44ef8
treea9a8272015e9fe5deedc59fd9740b0155e1c652a
parent0cc98522f9f15b32f28ae97c06a0dc40c4db5e79
i965: Don't stomp initial kflags for program cache.

We want to flag EXEC_OBJECT_CAPTURE, but we ought to preserve any
existing kflags.  Today, there are none (as the program cache doesn't
support 48-bit addressing), but once we start using softpin, we'll
need to preserve EXEC_OBJECT_PINNED.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_program_cache.c