[PATCH vkd3d 1/5] vkd3d-shader: Introduce HLSL allocation helpers.

Zebediah Figura (she/her) zfigura at codeweavers.com
Thu Jun 10 21:28:47 CDT 2021


On 5/28/21 7:07 AM, Matteo Bruni wrote:
> Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
> ---
> I'm sure this is no surprise but I find it a bit awkward that
> currently there is a struct hlsl_ctx * inside struct bytecode_buffer
> while it's also passed separately to a bunch of helpers. Just another
> thing for potential followups...
> 

It's a bit awkward, it came of this patch being written much later than 
anything else. I didn't really want to have to pass ctx to put_dword() 
everywhere, but probably I should just do so anyway...



More information about the wine-devel mailing list