vkd3d-shader/hlsl: Parse the max() intrinsic.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-09-01 17:20:54 -05:00
committed by Alexandre Julliard
parent f86e4d6b92
commit 99674ab60f
4 changed files with 94 additions and 0 deletions

View File

@@ -136,6 +136,8 @@ static void parse_test_directive(struct shader_context *context, const char *lin
static const float clear_color[4];
ID3D12PipelineState *pso;
if (context->c.root_signature)
ID3D12RootSignature_Release(context->c.root_signature);
context->c.root_signature = create_32bit_constants_root_signature(context->c.device,
0, context->uniform_count, D3D12_SHADER_VISIBILITY_ALL);