mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/dxil: Get rid of sm6_parser_require_space().
It's not obvious what this last remaining use of sm6_parser_require_space() is preallocating space for, and that's as good of a reason as any to get rid of it.
This commit is contained in:
committed by
Henri Verbeet
parent
03a58d74b9
commit
da4d5ef339
Notes:
Henri Verbeet
2025-10-03 00:55:08 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1761
@@ -477,7 +477,7 @@ void *shader_param_allocator_get(struct vkd3d_shader_param_allocator *allocator,
|
||||
return params;
|
||||
}
|
||||
|
||||
bool shader_instruction_array_reserve(struct vkd3d_shader_instruction_array *array, size_t reserve)
|
||||
static bool shader_instruction_array_reserve(struct vkd3d_shader_instruction_array *array, size_t reserve)
|
||||
{
|
||||
if (!vkd3d_array_reserve((void **)&array->elements, &array->capacity, reserve, sizeof(*array->elements)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user