OSDN Git Service

BDW+: disable SGVS
authorJoe Konno <joe.konno@intel.com>
Tue, 13 Jan 2015 22:29:21 +0000 (15:29 -0700)
committerZhao, Yakui <yakui.zhao@intel.com>
Wed, 14 Jan 2015 03:03:37 +0000 (11:03 +0800)
commitce682a73e2a248f1feae2d0aad8644afab4f0df6
tree2dd7a31a3278cd280b0994d0bd4916c894831fca
parent1a4e98338b8b498895eabe3a151f48e5c624bb63
BDW+: disable SGVS

BDW introduces separate packets for controlling instancing and system
generated values (eg vertex id and instance id).  We don't use
instancing, but still need to disable sgvs to avoid undefined behaviour
when some other driver (mesa) uses it.

Signed-off-by: Joe Konno <joe.konno@intel.com>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Daniel Charles <daniel.charles@intel.com>
(cherry picked from commit 4caa37b895d39af754e2b2307879752130731f56)
src/gen8_render.c
src/gen9_render.c
src/i965_defines.h