mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Translate floating-point min/max instructions to NMin/NMax.
The semantics of NMin and NMax match special handling required for NaN.
This commit is contained in:
parent
2be7b7f7f8
commit
cd1f9118ee
@ -1856,8 +1856,8 @@ static enum GLSLstd450 vkd3d_dxbc_compiler_map_ext_glsl_instruction(
|
|||||||
{VKD3DSIH_FIRSTBIT_LO, GLSLstd450FindILsb},
|
{VKD3DSIH_FIRSTBIT_LO, GLSLstd450FindILsb},
|
||||||
{VKD3DSIH_FIRSTBIT_SHI, GLSLstd450FindSMsb},
|
{VKD3DSIH_FIRSTBIT_SHI, GLSLstd450FindSMsb},
|
||||||
{VKD3DSIH_MAD, GLSLstd450Fma},
|
{VKD3DSIH_MAD, GLSLstd450Fma},
|
||||||
{VKD3DSIH_MAX, GLSLstd450FMax},
|
{VKD3DSIH_MAX, GLSLstd450NMax},
|
||||||
{VKD3DSIH_MIN, GLSLstd450FMin},
|
{VKD3DSIH_MIN, GLSLstd450NMin},
|
||||||
{VKD3DSIH_RSQ, GLSLstd450InverseSqrt},
|
{VKD3DSIH_RSQ, GLSLstd450InverseSqrt},
|
||||||
{VKD3DSIH_SQRT, GLSLstd450Sqrt},
|
{VKD3DSIH_SQRT, GLSLstd450Sqrt},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user