mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/spirv: Introduce HALF and UINT16 types for minimum precision.
Minimum precision types must always be implemented as 32-bit to match how reduced precision works in SPIR-V.
This commit is contained in:
committed by
Alexandre Julliard
parent
58123c2e10
commit
066ea75945
Notes:
Alexandre Julliard
2024-03-11 23:07:09 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Conor McCarthy (@cmccarthy) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/519
@@ -649,6 +649,8 @@ static void shader_dump_data_type(struct vkd3d_d3d_asm_compiler *compiler, enum
|
||||
[VKD3D_DATA_UINT8 ] = "uint8",
|
||||
[VKD3D_DATA_UINT64 ] = "uint64",
|
||||
[VKD3D_DATA_BOOL ] = "bool",
|
||||
[VKD3D_DATA_UINT16 ] = "uint16",
|
||||
[VKD3D_DATA_HALF ] = "half",
|
||||
};
|
||||
|
||||
const char *name;
|
||||
|
Reference in New Issue
Block a user