11 Nov
2021
11 Nov
'21
9:26 p.m.
On 11/11/21 04:18, Matteo Bruni wrote:
+ TRACE("load from %s[%d-%d] reconstructed to %s[%d %d %d %d]\n", var->name, offset, + offset + type->dimx, buf, indices[0], indices[1], indices[2], indices[3]); + } + + if (!new_node) + return false; + + s = indices[0] | indices[1] << 2 | indices[2] << 4 | indices[3] << 6;
I guess we could introduce a small helper (hlsl_make_swizzle()?) for this.
Yeah, we could probably use this, although it doesn't need to block this patch.