openfimg: compiler: Add shader size check after assembling

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Add command ID for vertex texture setup

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Emit backwards branches correctly

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Emit single source PHIs too

They are neccessary for variables defined only in depart nodes inside
the loop region.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Remove vFace and vPos register types

They seem to be left overs from old revision of the hardware. Current
hardware has them as special samplers.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Fix flags merging in optimizer

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Update for new ring interface

Unfortunately this is not backwards compatible, due to change in
register numbering.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Do not re-emit vertex shader very change of attribute count

After an update of kernel interface, the vertex shader attribute count
register can be accessed separately.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>