mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Translate round_z instructions.
This commit is contained in:
parent
e24a3ba8fd
commit
6ffe54b9ec
@ -3287,6 +3287,7 @@ static enum GLSLstd450 vkd3d_dxbc_compiler_map_ext_glsl_instruction(
|
|||||||
{VKD3DSIH_MIN, GLSLstd450FMin},
|
{VKD3DSIH_MIN, GLSLstd450FMin},
|
||||||
{VKD3DSIH_ROUND_NI, GLSLstd450Floor},
|
{VKD3DSIH_ROUND_NI, GLSLstd450Floor},
|
||||||
{VKD3DSIH_ROUND_PI, GLSLstd450Ceil},
|
{VKD3DSIH_ROUND_PI, GLSLstd450Ceil},
|
||||||
|
{VKD3DSIH_ROUND_Z, GLSLstd450Trunc},
|
||||||
{VKD3DSIH_RSQ, GLSLstd450InverseSqrt},
|
{VKD3DSIH_RSQ, GLSLstd450InverseSqrt},
|
||||||
{VKD3DSIH_SQRT, GLSLstd450Sqrt},
|
{VKD3DSIH_SQRT, GLSLstd450Sqrt},
|
||||||
{VKD3DSIH_UMAX, GLSLstd450UMax},
|
{VKD3DSIH_UMAX, GLSLstd450UMax},
|
||||||
@ -4613,6 +4614,7 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
|
|||||||
case VKD3DSIH_MIN:
|
case VKD3DSIH_MIN:
|
||||||
case VKD3DSIH_ROUND_NI:
|
case VKD3DSIH_ROUND_NI:
|
||||||
case VKD3DSIH_ROUND_PI:
|
case VKD3DSIH_ROUND_PI:
|
||||||
|
case VKD3DSIH_ROUND_Z:
|
||||||
case VKD3DSIH_RSQ:
|
case VKD3DSIH_RSQ:
|
||||||
case VKD3DSIH_SQRT:
|
case VKD3DSIH_SQRT:
|
||||||
case VKD3DSIH_UMAX:
|
case VKD3DSIH_UMAX:
|
||||||
|
Loading…
Reference in New Issue
Block a user