i965: Port gen4+ state emitting code to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 19 Apr 2017 20:13:25 +0000 (13:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 03:40:20 +0000 (20:40 -0700)
commitda665d22f55ba4af0f6f3c4fbea80a193e7028c1
treef8e31a26c7c49eb70c837b4c35e18d6273d9239a
parentc85b217ab08730c6a6300b08834e2825be8cc47c
i965: Port gen4+ state emitting code to genxml.

On this patch, we port:
   - brw_polygon_stipple
   - brw_polygon_stipple_offset
   - brw_line_stipple
   - brw_drawing_rect

v2:
   - Also emit states for gen4-5 with this code.
v3:
   - Style fixes and remove excessive checks (Ken).

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_viewport_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c