mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Add valid vkd3d_sm4_data_type types.
Signed-off-by: Isabella Bosia <ibosia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cbe4a3adff
commit
8d9d20d47b
@ -438,6 +438,10 @@ enum vkd3d_sm4_data_type
|
||||
VKD3D_SM4_DATA_INT = 0x3,
|
||||
VKD3D_SM4_DATA_UINT = 0x4,
|
||||
VKD3D_SM4_DATA_FLOAT = 0x5,
|
||||
VKD3D_SM4_DATA_MIXED = 0x6,
|
||||
VKD3D_SM4_DATA_DOUBLE = 0x7,
|
||||
VKD3D_SM4_DATA_CONTINUED = 0x8,
|
||||
VKD3D_SM4_DATA_UNUSED = 0x9,
|
||||
};
|
||||
|
||||
enum vkd3d_sm4_sampler_mode
|
||||
@ -528,6 +532,10 @@ static const enum vkd3d_data_type data_type_table[] =
|
||||
/* VKD3D_SM4_DATA_INT */ VKD3D_DATA_INT,
|
||||
/* VKD3D_SM4_DATA_UINT */ VKD3D_DATA_UINT,
|
||||
/* VKD3D_SM4_DATA_FLOAT */ VKD3D_DATA_FLOAT,
|
||||
/* VKD3D_SM4_DATA_MIXED */ VKD3D_DATA_MIXED,
|
||||
/* VKD3D_SM4_DATA_DOUBLE */ VKD3D_DATA_DOUBLE,
|
||||
/* VKD3D_SM4_DATA_CONTINUED */ VKD3D_DATA_CONTINUED,
|
||||
/* VKD3D_SM4_DATA_UNUSED */ VKD3D_DATA_UNUSED,
|
||||
};
|
||||
|
||||
static bool shader_is_sm_5_1(const struct vkd3d_sm4_data *priv)
|
||||
|
@ -539,6 +539,10 @@ static void shader_dump_data_type(struct vkd3d_string_buffer *buffer, enum vkd3d
|
||||
/* VKD3D_DATA_UNORM */ "unorm",
|
||||
/* VKD3D_DATA_SNORM */ "snorm",
|
||||
/* VKD3D_DATA_OPAQUE */ "opaque",
|
||||
/* VKD3D_DATA_MIXED */ "mixed",
|
||||
/* VKD3D_DATA_DOUBLE */ "double",
|
||||
/* VKD3D_DATA_CONTINUED */ "<continued>",
|
||||
/* VKD3D_DATA_UNUSED */ "<unused>",
|
||||
};
|
||||
const char *name;
|
||||
|
||||
|
@ -394,6 +394,10 @@ enum vkd3d_data_type
|
||||
VKD3D_DATA_UNORM,
|
||||
VKD3D_DATA_SNORM,
|
||||
VKD3D_DATA_OPAQUE,
|
||||
VKD3D_DATA_MIXED,
|
||||
VKD3D_DATA_DOUBLE,
|
||||
VKD3D_DATA_CONTINUED,
|
||||
VKD3D_DATA_UNUSED,
|
||||
};
|
||||
|
||||
enum vkd3d_immconst_type
|
||||
|
Loading…
Reference in New Issue
Block a user