[PATCH 3/6] wined3d: Handle raw thread group shared memory declarations.

Sebastian Lackner sebastian at fds-team.de
Wed Mar 1 10:49:35 CST 2017


On 28.02.2017 14:42, Józef Kucia wrote:
> +                reg_maps->tgsm_count = reg_idx + 1;

Wouldn't it be better to set it to max(reg_maps->tgsm_count, ...) to
allow decreasing reg indices (even if not seen in practice yet)?
Alternatively you could also get rid of this variable and update patch
6 to check the index against the capacity.

Best regards,
Sebastian




More information about the wine-devel mailing list