vkd3d-shader: Parse ISG1, PSG1 and OSG1 signatures.

These signatures extend the OSG5 format by a minimum
precision hint, which gets ignored for now but could
be implemented using 16-bit floats in the future.

Fixes some shader parsing errors in Resident Evil 2.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Philip Rebohle
2019-05-18 12:03:14 +02:00
committed by Alexandre Julliard
parent e7e0f4180d
commit 578ce3653d
2 changed files with 19 additions and 3 deletions

View File

@@ -580,6 +580,7 @@ struct vkd3d_shader_signature_element
enum vkd3d_component_type component_type;
unsigned int register_index;
unsigned int mask;
unsigned int min_precision;
};
struct vkd3d_shader_signature