mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Write SM4 integer negation.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> 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:
parent
3ad8609247
commit
c64627313f
@ -309,8 +309,7 @@ XFAIL_TESTS = \
|
||||
tests/sampler.shader_test \
|
||||
tests/texture-load.shader_test \
|
||||
tests/texture-load-typed.shader_test \
|
||||
tests/trigonometry.shader_test \
|
||||
tests/writemask-assignop-1.shader_test
|
||||
tests/trigonometry.shader_test
|
||||
endif
|
||||
|
||||
if BUILD_DEMOS
|
||||
|
@ -1416,6 +1416,10 @@ static void write_sm4_expr(struct hlsl_ctx *ctx,
|
||||
break;
|
||||
}
|
||||
|
||||
case HLSL_OP1_NEG:
|
||||
write_sm4_unary_op(buffer, VKD3D_SM4_OP_INEG, &expr->node, arg1, 0);
|
||||
break;
|
||||
|
||||
default:
|
||||
hlsl_fixme(ctx, &expr->node.loc, "SM4 int \"%s\" expression.", debug_hlsl_expr_op(expr->op));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user