+ if (!strcmp(attr->name, "unroll")) + { + if (attr->args_count) + { + hlsl_error(ctx, loc, VKD3D_SHADER_ERROR_HLSL_NOT_IMPLEMENTED, "Unroll attribute with iteration count."); + } + else + { + FIXME("Loop unrolling is not implemented.\n"); + } + }
vkd3d-shader/hlsl has been fairly decent about using the proper channels to report compilation issues; why are we introducing a FIXME here instead of using e.g. hlsl_warning()?