I want to use integer texture coordinates with tex2D, which avoids extraneous cvt instructions, but nvcc still always converts my integer coordinates to float. Looking in texture_fetch_functions.h,
I only see __ftexfetchi that takes integer coordinates, but it only works for 1D textures. I thought maybe they forgot to add the 2D version and tried declaring it, but get unresolved symbols.
I know tex.2d with s32 coordinates is valid PTX, but how do I tell NVCC to use it? Meanwhile, I’ll have to edit the ptx myself to get rid of those float conversions.