The DX Shader Model 5.0 has a lod
instruction. It returns "the LOD (level of detail) that would be used for texture filtering".
Does HLSL have a built-in intrinsic that can do the same? I know I could evaluate the LOD manually, but I'm wondering if there's a better way.