Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/vkd3d_shader_main.c:
&semantic->resource.range, semantic->resource_type, VKD3D_SHADER_RESOURCE_DATA_FLOAT);
}
+static void vkd3d_shader_scan_combined_sampler_usage(struct vkd3d_shader_scan_context *context,
const struct vkd3d_shader_register *resource, const struct vkd3d_shader_register *sampler)
+{
- struct vkd3d_shader_scan_combined_resource_sampler_info *info;
- struct vkd3d_shader_combined_resource_sampler_info *s;
- unsigned resource_space = 0, sampler_space = 0;
- unsigned int resource_idx, sampler_idx, i;
- if (!(info = context->combined_sampler_info))
return;
- if (resource->type == VKD3DSPR_RESOURCE)
What could this be other than a resource register? And similarly for the sampler?