tried some other stuff (e.g. float(x)+0.5) for indexing into texcache, but no luck