On Mon Jun 5 13:59:31 2023 +0000, Francisco Casas wrote:
No, my proposal is to always produce a 1D load, which should be promoted to a 2D load by a SM4-specific pass.
I don't see how it ever makes sense to emit a 1D load in the IR from intrinsic_tex1D(). The load is fundamentally 2D, regardless of profile version. Lowering is a thing to deal with differences between profile bytecode, or high-level constructions that can't easily be emitted already lowered; I don't see how either applies here?