Clean up renderer visualization a bit.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Mon, 12 Jan 2015 13:50:36 +0000 (14:50 +0100)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Mon, 12 Jan 2015 18:07:09 +0000 (19:07 +0100)
commita33879b811e1c495ce0686edb6ab3a4e3a9539c4
tree811b0073521d53c707b058ef6420b873baf5dfa7
parent3373f67d47a3f0e2a191dec4d7d97cc0a1b02e2d
Clean up renderer visualization a bit.

viewport was currently unused and adreno 305 was confused by
the tweak.w > 0.0 when the input was 0.0f, so write it
in a slightly more straightforward manner.

Change-Id: I101ff71dcb04ca531e91cc5522876d71f368cdc8
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
src/quick/scenegraph/shaders/visualization.frag
src/quick/scenegraph/shaders/visualization.vert