On Thu Feb 15 10:47:58 2024 +0000, Nikolay Sivov wrote:
One problem with using allocate_buffers() is that binding validation when multiple buffers are using same register should not be enforced. Regarding $Params, I don't think you can ever get that buffer written when using effects. It's only used for entry point arguments, right? For effects I don't think you can use entry points like that.
Makes sense. In that case it'd still be nice to find a way to define a helper, say, hlsl_calculate_buffer_offsets().