Hi,
On 02/11/21 01:43, Zebediah Figura wrote:
if (!(coords = add_implicit_conversion(ctx, instrs, params->args[1],
ctx->builtin_types.vector[HLSL_TYPE_FLOAT][sampler_dim - 1], loc)))
coords = params->args[1];
I would suggest to use the hlsl_get_vector_type helper.
Thanks, Giovanni.