vkd3d-shader: Do not validate the target type in vkd3d_shader_scan().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-12-28 16:20:17 -06:00 committed by Alexandre Julliard
parent 9fef9fe2bc
commit f3050be89d

View File

@ -1025,7 +1025,7 @@ int vkd3d_shader_scan(const struct vkd3d_shader_compile_info *compile_info, char
if (messages)
*messages = NULL;
if ((ret = vkd3d_shader_validate_compile_info(compile_info, true)) < 0)
if ((ret = vkd3d_shader_validate_compile_info(compile_info, false)) < 0)
return ret;
vkd3d_shader_message_context_init(&message_context, compile_info->log_level);