i965: Move the pipelined test for SO register access to the screen
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Jan 2017 07:34:59 +0000 (08:34 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 5 Jan 2017 07:43:46 +0000 (08:43 +0100)
commit02a44484f01848775642661c4dd38dfd56f6c345
tree12bf3ad8433c6e7684708fd78b10682290c2ec3f
parentab1ec7de9387a453a7e013ee7bb9b3514cd5b4bb
i965: Move the pipelined test for SO register access to the screen

Moving the test to the screen places it alongside the other global HW
feature tests that want to be shared between contexts.

Also, we need to know if we support pipelined register writes at
screen creation time so that we can tell if we can expose OpenGL 4.0
in gen7.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.h