libs/vkd3d-shader: Allow compute shader registers as source operands.

This commit is contained in:
Józef Kucia 2017-07-18 17:32:26 +02:00
parent 171ad02aa8
commit caa1f4a37a

View File

@ -1570,6 +1570,8 @@ static uint32_t vkd3d_dxbc_compiler_get_register_id(struct vkd3d_dxbc_compiler *
case VKD3DSPR_COLOROUT:
case VKD3DSPR_CONSTBUFFER:
case VKD3DSPR_SAMPLER:
case VKD3DSPR_THREADID:
case VKD3DSPR_LOCALTHREADID:
vkd3d_dxbc_compiler_get_register_info(compiler, reg, &register_info);
return register_info.id;
case VKD3DSPR_IMMCONST: