mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/spirv: Handle the TAN instruction in spirv_compiler_emit_ext_glsl_instruction().
This commit is contained in:
committed by
Alexandre Julliard
parent
93d7c30395
commit
f954724870
Notes:
Alexandre Julliard
2024-01-25 23:10:02 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/595
@ -6982,6 +6982,7 @@ static enum GLSLstd450 spirv_compiler_map_ext_glsl_instruction(
|
||||
{VKD3DSIH_ROUND_Z, GLSLstd450Trunc},
|
||||
{VKD3DSIH_RSQ, GLSLstd450InverseSqrt},
|
||||
{VKD3DSIH_SQRT, GLSLstd450Sqrt},
|
||||
{VKD3DSIH_TAN, GLSLstd450Tan},
|
||||
{VKD3DSIH_UMAX, GLSLstd450UMax},
|
||||
{VKD3DSIH_UMIN, GLSLstd450UMin},
|
||||
};
|
||||
@ -9555,6 +9556,7 @@ static int spirv_compiler_handle_instruction(struct spirv_compiler *compiler,
|
||||
case VKD3DSIH_ROUND_Z:
|
||||
case VKD3DSIH_RSQ:
|
||||
case VKD3DSIH_SQRT:
|
||||
case VKD3DSIH_TAN:
|
||||
case VKD3DSIH_UMAX:
|
||||
case VKD3DSIH_UMIN:
|
||||
spirv_compiler_emit_ext_glsl_instruction(compiler, instruction);
|
||||
|
Reference in New Issue
Block a user