mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/spirv: Implement VKD3DSIH_ABS.
This commit is contained in:
committed by
Alexandre Julliard
parent
9a222d2be1
commit
172cb75872
Notes:
Alexandre Julliard
2024-03-27 23:07:31 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/724
@@ -7123,6 +7123,7 @@ static enum GLSLstd450 spirv_compiler_map_ext_glsl_instruction(
|
||||
}
|
||||
glsl_insts[] =
|
||||
{
|
||||
{VKD3DSIH_ABS, GLSLstd450FAbs},
|
||||
{VKD3DSIH_ACOS, GLSLstd450Acos},
|
||||
{VKD3DSIH_ASIN, GLSLstd450Asin},
|
||||
{VKD3DSIH_ATAN, GLSLstd450Atan},
|
||||
@@ -9814,6 +9815,7 @@ static int spirv_compiler_handle_instruction(struct spirv_compiler *compiler,
|
||||
case VKD3DSIH_ISFINITE:
|
||||
spirv_compiler_emit_isfinite(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_ABS:
|
||||
case VKD3DSIH_ACOS:
|
||||
case VKD3DSIH_ASIN:
|
||||
case VKD3DSIH_ATAN:
|
||||
|
Reference in New Issue
Block a user