vkd3d-shader: Recognize skipOptimization global flag.

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:
Isabella Bosia 2020-09-15 18:05:11 +01:00 committed by Alexandre Julliard
parent cf3388dad7
commit 058aec3ad9
2 changed files with 2 additions and 0 deletions

View File

@ -348,6 +348,7 @@ static void shader_dump_global_flags(struct vkd3d_string_buffer *buffer, DWORD g
{VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL, "forceEarlyDepthStencil"},
{VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS, "enableRawAndStructuredBuffers"},
{VKD3DSGF_ENABLE_MINIMUM_PRECISION, "enableMinimumPrecision"},
{VKD3DSGF_SKIP_OPTIMIZATION, "skipOptimization"},
};
for (i = 0; i < ARRAY_SIZE(global_flag_info); ++i)

View File

@ -451,6 +451,7 @@ enum vkd3d_shader_global_flags
VKD3DSGF_REFACTORING_ALLOWED = 0x01,
VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL = 0x04,
VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS = 0x08,
VKD3DSGF_SKIP_OPTIMIZATION = 0x10,
VKD3DSGF_ENABLE_MINIMUM_PRECISION = 0x20
};