Allowed integer constants through lerp type checking.
Allowed integer constants through lerp type checking.

Now you can write:

lerp(0, some_uint8, alpha)

without it complaining.

delcypher/Halide,fengzhyuan/Halide,tdenniston/Halide,kenkuang1213/Halide,rodrigob/Halide,psuriana/Halide,tdenniston/Halide,lglucin/Halide,rodrigob/Halide,aam/Halide,damienfir/Halide,tdenniston/Halide,mikeseven/Halide,myrtleTree33/Halide,fengzhyuan/Halide,ronen/Halide,adasworks/Halide,kenkuang1213/Halide,ayanazmat/Halide,gchauras/Halide,kgnk/Halide,aam/Halide,gchauras/Halide,ayanazmat/Halide,kgnk/Halide,dan-tull/Halide,delcypher/Halide,tdenniston/Halide,mcanthony/Halide,mcanthony/Halide,mcanthony/Halide,adasworks/Halide,lglucin/Halide,psuriana/Halide,adasworks/Halide,ayanazmat/Halide,dougkwan/Halide,psuriana/Halide,ayanazmat/Halide,gchauras/Halide,kenkuang1213/Halide,delcypher/Halide,lglucin/Halide,gchauras/Halide,mcanthony/Halide,ayanazmat/Halide,dougkwan/Halide,dan-tull/Halide,dan-tull/Halide,ayanazmat/Halide,jiawen/Halide,delcypher/Halide,dougkwan/Halide,aam/Halide,dan-tull/Halide,mcanthony/Halide,lglucin/Halide,fengzhyuan/Halide,smxlong/Halide,aam/Halide,rodrigob/Halide,dan-tull/Halide,ronen/Halide,damienfir/Halide,dougkwan/Halide,ronen/Halide,mikeseven/Halide,myrtleTree33/Halide,jiawen/Halide,damienfir/Halide,myrtleTree33/Halide,kenkuang1213/Halide,mikeseven/Halide,psuriana/Halide,gchauras/Halide,adasworks/Halide,mcanthony/Halide,kenkuang1213/Halide,aam/Halide,dan-tull/Halide,tdenniston/Halide,lglucin/Halide,tdenniston/Halide,ronen/Halide,adasworks/Halide,fengzhyuan/Halide,delcypher/Halide,mcanthony/Halide,ronen/Halide,delcypher/Halide,dougkwan/Halide,mcanthony/Halide,myrtleTree33/Halide,psuriana/Halide,damienfir/Halide,kgnk/Halide,jiawen/Halide,ayanazmat/Halide,ronen/Halide,mikeseven/Halide,adasworks/Halide,kenkuang1213/Halide,jiawen/Halide,smxlong/Halide,damienfir/Halide,delcypher/Halide,smxlong/Halide,dan-tull/Halide,smxlong/Halide,dougkwan/Halide,myrtleTree33/Halide,tdenniston/Halide,aam/Halide,rodrigob/Halide,ayanazmat/Halide,dougkwan/Halide,fengzhyuan/Halide,fengzhyuan/Halide,dougkwan/Halide,dan-tull/Halide,jiawen/Halide,kgnk/Halide,damienfir/Halide,kgnk/Halide,lglucin/Halide,kgnk/Halide,adasworks/Halide,mikeseven/Halide,kenkuang1213/Halide,tdenniston/Halide,myrtleTree33/Halide,myrtleTree33/Halide,smxlong/Halide,fengzhyuan/Halide,rodrigob/Halide,kgnk/Halide,myrtleTree33/Halide,ronen/Halide,smxlong/Halide,psuriana/Halide,gchauras/Halide,rodrigob/Halide,damienfir/Halide,smxlong/Halide,kenkuang1213/Halide,rodrigob/Halide,rodrigob/Halide,kgnk/Halide,delcypher/Halide,psuriana/Halide,jiawen/Halide,fengzhyuan/Halide,ronen/Halide,adasworks/Halide,damienfir/Halide,lglucin/Halide,jiawen/Halide,smxlong/Halide,aam/Halide