mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
cf3388dad7
commit
058aec3ad9
@ -348,6 +348,7 @@ static void shader_dump_global_flags(struct vkd3d_string_buffer *buffer, DWORD g
|
|||||||
{VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL, "forceEarlyDepthStencil"},
|
{VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL, "forceEarlyDepthStencil"},
|
||||||
{VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS, "enableRawAndStructuredBuffers"},
|
{VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS, "enableRawAndStructuredBuffers"},
|
||||||
{VKD3DSGF_ENABLE_MINIMUM_PRECISION, "enableMinimumPrecision"},
|
{VKD3DSGF_ENABLE_MINIMUM_PRECISION, "enableMinimumPrecision"},
|
||||||
|
{VKD3DSGF_SKIP_OPTIMIZATION, "skipOptimization"},
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(global_flag_info); ++i)
|
for (i = 0; i < ARRAY_SIZE(global_flag_info); ++i)
|
||||||
|
@ -451,6 +451,7 @@ enum vkd3d_shader_global_flags
|
|||||||
VKD3DSGF_REFACTORING_ALLOWED = 0x01,
|
VKD3DSGF_REFACTORING_ALLOWED = 0x01,
|
||||||
VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL = 0x04,
|
VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL = 0x04,
|
||||||
VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS = 0x08,
|
VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS = 0x08,
|
||||||
|
VKD3DSGF_SKIP_OPTIMIZATION = 0x10,
|
||||||
VKD3DSGF_ENABLE_MINIMUM_PRECISION = 0x20
|
VKD3DSGF_ENABLE_MINIMUM_PRECISION = 0x20
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user