浏览代码

Fix syntax error in Core shader library

Introduced in b0a3ae7b086505371a6923da3e04204504dd2c40
/main
Peter Bay Bastian 6 年前
当前提交
80548487
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.render-pipelines.core/CoreRP/ShaderLibrary/Common.hlsl

2
com.unity.render-pipelines.core/CoreRP/ShaderLibrary/Common.hlsl


// If any of the input parameters are NaNs, the result is a NaN.
real SafeDiv(real numer, real denom)
{
return (numer != denom) : numer / denom : 1;
return (numer != denom) ? numer / denom : 1;
}
// Generates a triangle in homogeneous clip space, s.t.

正在加载...
取消
保存