Searched refs:dotNI (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.cpp | 1236 skvm::F32 dotNI = dot(N, I); in writeIntrinsicCall() local 1238 return i - 2**dotNI**n; in writeIntrinsicCall() 1246 skvm::F32 dotNI = dot(N, I), in writeIntrinsicCall() local 1247 k = 1 - eta**eta**(1 - dotNI**dotNI); in writeIntrinsicCall() 1249 return select(k<0, 0.0f, eta**i - (eta**dotNI + sqrt(k))**n); in writeIntrinsicCall()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 3149 const ExprP<float> dotNI = bindExpression("dotNI", ctx, dot(n, i)); in apply() local 3151 return i - alternatives((n * dotNI) * constant(2.0f), in apply() 3152 n * (dotNI * constant(2.0f))); in apply() 3220 const ExprP<float> dotNI = bindExpression("dotNI", ctx, dot(n, i)); in doExpand() local 3222 (constant(1.0f) - dotNI * dotNI)); in doExpand() 3225 (((dotNI * (-dotNI)) + constant(1.0f)) * eta) in doExpand() 3231 i * eta - n * (eta * dotNI + sqrt(k))); in doExpand()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 4094 const ExprP<T> dotNI = bindExpression("dotNI", ctx, dot(n, i)); in doExpand() local 4096 return i - alternatives((n * dotNI) * getConstTwo<T>(), in doExpand() 4097 alternatives( n * (dotNI * getConstTwo<T>()), in doExpand() 4131 const ExprP<T> dotNI = bindExpression("dotNI", ctx, dot(n, i)); in doExpand() local 4133 (getConstOne<T>() - dotNI * dotNI)); in doExpand() 4136 i * eta - n * (eta * dotNI + sqrt(k))); in doExpand()
|