[PATCH vkd3d 04/12] vkd3d-shader/hlsl: Return bool from add_record_load() and add_array_load().

Zebediah Figura zfigura at codeweavers.com
Wed Apr 20 13:03:10 CDT 2022


On 4/18/22 01:34, Giovanni Mascellani wrote:
> From: Zebediah Figura <zfigura at codeweavers.com>
> 
> ---
> The original patch also change add_load(), but I dropped that part because
> I need add_load()'s return value for "Support vector indexing".

If we're not going to change add_load(), I'm not sure there's much point 
in changing these ones either. My main goal was consistency.

I actually hadn't intended to submit this patch yet, since I wasn't sure 
it was an improvement, and since it was a pretty low priority anyway.

Alternatively we could change add_load() to return bool, and rely on 
node_from_list() to retrieve the last expression.



More information about the wine-devel mailing list