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

@@ -8520,10 +8520,13 @@ static void vsir_validate_signature_element(struct validation_context *ctx,
{
case VKD3D_SHADER_COMPONENT_INT:
case VKD3D_SHADER_COMPONENT_UINT:
case VKD3D_SHADER_COMPONENT_INT16:
case VKD3D_SHADER_COMPONENT_UINT16:
integer_type = true;
break;
case VKD3D_SHADER_COMPONENT_FLOAT:
case VKD3D_SHADER_COMPONENT_FLOAT16:
break;
default: