mesa/st: set compiler options based on Gallium shader caps
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 6 Sep 2010 00:31:20 +0000 (02:31 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Tue, 14 Sep 2010 04:08:03 +0000 (06:08 +0200)
commitb37459388b22fb6a831d45bc08e51cdb7b9c610c
treefcc5feba56d88929958ecbbf4db5a15f844ca1f0
parenta508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d
mesa/st: set compiler options based on Gallium shader caps

This turns on if conversion and unlimited loop unrolling if control
flow is not supported.

NOTE: this will change the behavior of r300g and any other driver
that doesn't advertise control flow
src/mesa/state_tracker/st_extensions.c