vkd3d-shader/hlsl: Write empty SM4 shaders.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@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-08-17 12:38:57 -05:00
committed by Alexandre Julliard
parent 2db8cbc9a7
commit 96d523722d
8 changed files with 132 additions and 18 deletions

View File

@@ -141,6 +141,8 @@ static void parse_test_directive(struct shader_context *context, const char *lin
pso = create_pipeline_state(context->c.device, context->c.root_signature,
context->c.render_target_desc.Format, NULL, &ps, NULL);
if (!pso)
return;
ID3D12GraphicsCommandList_SetGraphicsRootSignature(command_list, context->c.root_signature);
ID3D12GraphicsCommandList_SetGraphicsRoot32BitConstants(command_list, 0,