vkd3d-shader/dxil: Generate I/O signatures with 16-bit component types for native 16-bit shaders.

Which incidentally matches the I/O signatures from the DXBC container.
This commit is contained in:
Henri Verbeet
2025-02-05 17:54:39 +01:00
parent f5d702b09a
commit fe4143ad19
Notes: Henri Verbeet 2025-02-24 16:26:29 +01:00
Approved-by: Conor McCarthy (@cmccarthy)
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1371
6 changed files with 50 additions and 14 deletions

View File

@@ -3375,7 +3375,8 @@ static uint32_t spirv_compiler_get_constant(struct spirv_compiler *compiler,
"Vectors of bool type are not supported.");
return vkd3d_spirv_get_op_undef(builder, type_id);
default:
FIXME("Unhandled component_type %#x.\n", component_type);
spirv_compiler_error(compiler, VKD3D_SHADER_ERROR_SPV_INVALID_TYPE,
"Unhandled component_type %#x.", component_type);
return vkd3d_spirv_get_op_undef(builder, type_id);
}