wined3d: Mark a couple of unimplemented relative addressing cases with FIXMEs.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-02-11 16:10:48 +01:00 committed by Alexandre Julliard
parent 1061969eb6
commit 24d937b618
1 changed files with 5 additions and 1 deletions

View File

@ -2164,10 +2164,12 @@ static void shader_glsl_get_register_name(const struct wined3d_shader_register *
break;
case WINED3DSPR_INPUT:
/* vertex shaders */
if (version->type == WINED3D_SHADER_TYPE_VERTEX)
{
struct shader_glsl_ctx_priv *priv = ins->ctx->backend_data;
if (reg->idx[0].rel_addr)
FIXME("VS3+ input registers relative addressing.\n");
if (priv->cur_vs_args->swizzle_map & (1u << reg->idx[0].offset))
*is_color = TRUE;
sprintf(register_name, "%s_in%u", prefix, reg->idx[0].offset);
@ -2318,6 +2320,8 @@ static void shader_glsl_get_register_name(const struct wined3d_shader_register *
case WINED3DSPR_TEXCRDOUT:
/* Vertex shaders >= 3.0: WINED3DSPR_OUTPUT */
if (reg->idx[0].rel_addr)
FIXME("VS3 output registers relative addressing.\n");
sprintf(register_name, "%s_out[%u]", prefix, reg->idx[0].offset);
break;