gallivm: Generalize lp_build_mul and lp_build_lerp for signed normalized types.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 13:38:52 +0000 (13:38 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 19:32:50 +0000 (19:32 +0000)
commit7d44d354bdba853e453ce3991396e2b0933468f4
treea040972ecacd424bc3b616493b8340102a30b01a
parentec83535c83c748b067ecf4548e5396fef8719725
gallivm: Generalize lp_build_mul and lp_build_lerp for signed normalized types.

This fixes fdo bug 57755 and most of the failures of piglit fbo-blending-formats
GL_EXT_texture_snorm.

GL_INTENSITY_SNORM is still failing, but problem is probably elsewhere,
as GL_R8_SNORM works fine.
src/gallium/auxiliary/gallivm/lp_bld_arit.c