vkd3d-shader: Implement input registers for control point phase.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-02-12 17:41:31 +01:00 committed by Alexandre Julliard
parent efe68b00bb
commit d30afc37c4

View File

@ -3641,6 +3641,9 @@ static void vkd3d_dxbc_compiler_emit_shader_phase_input(struct vkd3d_dxbc_compil
switch (reg->type)
{
case VKD3DSPR_INPUT:
vkd3d_dxbc_compiler_emit_input(compiler, dst, VKD3D_SIV_NONE);
return;
case VKD3DSPR_OUTPOINTID:
vkd3d_dxbc_compiler_emit_input_register(compiler, dst);
return;