libs/vkd3d-shader: Use component types from input signatures for shader inputs.

Fixes Vulkan validation layers errors.
This commit is contained in:
Józef Kucia
2017-07-25 14:23:27 +02:00
parent 5a2ebc62f6
commit 6c174beb4b
3 changed files with 45 additions and 30 deletions

View File

@@ -50,7 +50,7 @@ HRESULT vkd3d_shader_compile_dxbc(const struct vkd3d_shader_code *dxbc,
shader_sm4_read_header(parser_data, &ptr, &shader_version);
if (!(spirv_compiler = vkd3d_dxbc_compiler_create(&shader_version,
&shader_desc.output_signature, compiler_options)))
&shader_desc, compiler_options)))
{
ERR("Failed to create DXBC compiler.\n");
shader_sm4_free(parser_data);