OSDN Git Service

st/mesa: use a generic varying to pass the clear color to the FS
authorMarek Olšák <maraeo@gmail.com>
Mon, 14 Jan 2013 16:17:20 +0000 (17:17 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 15 Jan 2013 15:47:18 +0000 (16:47 +0100)
commitf26eb36e8bc17b0ff047f114538bd2485c6a52ea
treefccc313a3e6d161258f502fb3a80b994d216ddf4
parent355d463f73976a5b091371690e5a914511b0b938
st/mesa: use a generic varying to pass the clear color to the FS

The color varying may have reduced precision or be even clamped.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_clear.c