ilo: clean up gen6_3DSTATE_SF()
authorChia-I Wu <olvaffe@gmail.com>
Tue, 11 Nov 2014 07:15:21 +0000 (15:15 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 11 Nov 2014 08:04:18 +0000 (16:04 +0800)
commit20a061d2b4c327d154b2067a611a2ac3f2e39698
treeb24a89124c717af8a3fe4f85d66b464cce09e315
parent239dca78b13d8c033d75d1898b1d5e3d784c30d4
ilo: clean up gen6_3DSTATE_SF()

Make the helpers fill out valid Gen7 3DSTATE_SF and 3STATE_SBE.  This
prevents the helpers from having to do

  dw[0] = GEN7_SBE_DW1_x; // setting DW1 value to dw[0]!?

and simplifies gen7_3DSTATE_{SF,SBE}().

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/ilo_builder_3d_bottom.h
src/gallium/drivers/ilo/ilo_render_gen6.c
src/gallium/drivers/ilo/ilo_render_gen7.c