llvmpipe: Only generate the whole shader specialization for opaque shaders.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 12 Sep 2010 09:14:50 +0000 (10:14 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 12 Sep 2010 09:15:48 +0000 (10:15 +0100)
commit853953dc3c5bd2ef9cca904c9cabc4a0ef037b16
tree72e0f1241024fc1dc406db31d4c4d3632cbc7957
parentb5fcf0c8e07e666523b007fab1d0fc18c2c89241
llvmpipe: Only generate the whole shader specialization for opaque shaders.

If not opaque, then the color buffer will have to be read any way,
therefore the specialization is pointless.
src/gallium/drivers/llvmpipe/lp_state_fs.c