On Tue Sep 12 18:26:00 2023 +0000, Nikolay Sivov wrote:
Compiling for ps_2_0 produces:
mov r0.xy, c0.y texld ..., r0, ...
For ps_3_0 it does: ```texld .., c0.y, ...``` I'm not sure what it means. Is it possible c0.y here means c0.yyyy? My point is, I'm not sure it's exactly junk that it's putting there.
For example this shader will use c0.y:
``` uniform float4 f; sampler1D t;
float4 main(float4 tex : texcoord0) : color { return tex1D(t, f.x); } ```
I'm not sure what it means. Is it possible c0.y here means c0.yyyy?
Yes, a single component implies replicate swizzle. Similarly omitted swizzle means .xyzw.