openfimg: compiler: Sort out enabling of debug messages

OF_MESA_DEBUG environment variable is now considered and normal dumps
are enabled if msgs is present and verbose dumps if vmsgs is present.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Separate compiler debugging messages from other

While at it, remove some obscure debugging flags copied from freedreno
driver which was used as a skeleton.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Consider texture mipmap level in framebuffer state

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Emit mipmap offsets

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: texture: Drop some unused leftover code

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Report depth texture as supported

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Fix is_rgb flag not being initialized for some formats

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: compiler: Fix crash when vector consists of unitialized var only

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Allow operation without colorbuffer attached

Hard to say whether it works, though...

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