radeonsi: initialize the first CS like any other
authorMarek Olšák <marek.olsak@amd.com>
Fri, 30 Aug 2013 22:13:43 +0000 (00:13 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Sep 2013 23:04:44 +0000 (01:04 +0200)
commit9eb3b9dc2bd459af41a277ba8d4661a6d0b5726d
treef56aa292a8a60f4a77d778b6785902cbb31be622
parent2b0a54d6ecbd31a41679d089c4e4abf8687f2fdc
radeonsi: initialize the first CS like any other

So that the "init" state is always emitted first and not later in draw_vbo.

This fixes streamout where the "init" state, which disables streamout,
was emitted in draw_vbo after streamout was enabled.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600.h
src/gallium/drivers/radeonsi/r600_hw_context.c
src/gallium/drivers/radeonsi/radeonsi_pipe.c
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/radeonsi_pm4.c