driver: allocate TS only when needed

TS (Tile Status) keeps track of the clear status per tile.
Thus it is only needed when a resource is bound to a surface,
not for normal textures.
This used to be switched on PIPE_BIND_RENDER_TARGET, but mesa
creates *every* texture with this bit set if possible so we were
wasting some precious consecutive memory here.
etnaviv: prevent false positive about cmd buffer overflow

After a flush, the next start offset may be beyond the end of the
buffer. This is harmless as it makes the next etna_reserve cycle to the next
buffer, but it resulted in a false positive error about a buffer oveflow.
driver: put compiler debug messages behind debug flag

More spam reduction...
etna: Removed PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS

Capability was removed in commit 30c3e871.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
etna: Rename the TGSI fragment kill opcodes

The definitions were renamed in commit 46205ab8.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
etna: Replaced tgsi_file_names[] with tgsi_file_name() function

This matches the change done in commit 14541dac.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
etna: Handle PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE

This capability was added in commit 52cb395b.

I have no idea what the actual maximum texture buffer size is,
so I picked the same value as the old default value.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
etna: Adapt for multiple viewport support

Feature was introduced in commit eaabb4ea.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
gallium: update to mesa cd90ebe
fb: use new set_viewport/set_scissor API

Make demos work after minigallium update.
Merge pull request #7 from mike-sc/gc880

Gc880 - rendering using unified memmory v3
tools: add VS/PS_RANGE registers to driver state map
driver: rename etna_shader to etna_compiler

Prepare for splitting up etna_pipe.
etna_shader should contain the code from etna_pipe.c
dealing with shader state. etna_compiler does the compilation of
the actual shaders.
driver: swap SCISSOR and VIEWPORT dirty bits

Oops, these were the wrong way around, fixed this.
etnaviv: fix buffer management issue