31 Jan
2024
31 Jan
'24
11:56 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxbc.c:
+ +static int parse_rdef(const struct vkd3d_shader_dxbc_section_desc *section, + struct vkd3d_shader_message_context *message_context, struct vkd3d_shader_scan_d3d_buffer_info *buffer_info) +{ + uint32_t buffer_count, buffer_offset, profile; + const char *data = section->data.code; + const char *ptr = data; + bool is_sm5; + int ret; + + if (!buffer_info) + return VKD3D_OK; + + buffer_count = read_u32(&ptr); + buffer_offset = read_u32(&ptr); + /* Resource count and offset; not currently used. */ Meaning they're not used by native or by us?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/606#note_59607