You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in HLSL, though I believe it may warn you now, you can do things like
float V = 1;
float3 MyVal = V;
Which is equivalent to,
float V = 1;
float3 MyVal = V.xxx;
Not super high priority, as we can fix those auto promotion cases in our code, but this fairly common thing to see in HLSL code (at least the scalar promotion type).
The text was updated successfully, but these errors were encountered:
Auto-smearing scalar -> vector was recently added for assignment (maybe not initializers though? I'll check), and is now being added for <, <=, >, and >=. Will close this when those are done.
in HLSL, though I believe it may warn you now, you can do things like
float V = 1;
float3 MyVal = V;
Which is equivalent to,
float V = 1;
float3 MyVal = V.xxx;
Not super high priority, as we can fix those auto promotion cases in our code, but this fairly common thing to see in HLSL code (at least the scalar promotion type).
The text was updated successfully, but these errors were encountered: