i965: Add context flag to disable the viewport transform
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 7 Jul 2014 22:00:46 +0000 (15:00 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Aug 2014 17:33:41 +0000 (10:33 -0700)
commitff7a2fc322a0ae0a36a976444b7506e9313ac630
treeb74e933dc0490a2514fadfe14d8964497161e7a3
parent1effbf68983c924b3b70fd2fd9206af6b5475335
i965: Add context flag to disable the viewport transform

This lets us disable the viewport transform, which will be useful for
emitting 3DPRIM_RECTLIST.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c