/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SetupRoutine.cpp | 90 A = IfThenElse(w0w1w2 < 0, -A, A); in generate() 103 d = IfThenElse(A > 0.0f, d, Int(0)); in generate() 137 Float rhw = IfThenElse(w != 0.0f, 1.0f / w, Float(1.0f)); in generate() 485 bias = IfThenElse(clamp > 0.0f, Min(bias, clamp), Max(bias, clamp)); in generate() 574 Int X1 = IfThenElse(swap, Xb, Xa); in edge() 575 Int X2 = IfThenElse(swap, Xa, Xb); in edge() 576 Int Y1 = IfThenElse(swap, Yb, Ya); in edge() 577 Int Y2 = IfThenElse(swap, Ya, Yb); in edge() 592 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge() 650 v0 = IfThenElse(condition, v1, v0); in conditionalRotate1() [all …]
|
D | VertexRoutine.cpp | 201 source0 = IfThenElse(limits.x > robustnessSize, zeroSource, source0); in readStream() 202 source1 = IfThenElse(limits.y > robustnessSize, zeroSource, source1); in readStream() 203 source2 = IfThenElse(limits.z > robustnessSize, zeroSource, source2); in readStream() 204 source3 = IfThenElse(limits.w > robustnessSize, zeroSource, source3); in readStream()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | SetupRoutine.cpp | 100 A = IfThenElse(w0w1w2 < 0, -A, A); in generate() 111 d = IfThenElse(A < 0.0f, d, Int(0)); in generate() 156 Float rhw = IfThenElse(w != 0.0f, 1.0f / w, Float(1.0f)); in generate() 569 Int X1 = IfThenElse(swap, Xb, Xa); in edge() 570 Int X2 = IfThenElse(swap, Xa, Xb); in edge() 571 Int Y1 = IfThenElse(swap, Yb, Ya); in edge() 572 Int Y2 = IfThenElse(swap, Ya, Yb); in edge() 584 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge() 642 v0 = IfThenElse(condition, v1, v0); in conditionalRotate1() 643 v1 = IfThenElse(condition, v2, v1); in conditionalRotate1() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | Reactor.cpp | 2549 return IfThenElse(x > y, x, y); in Max() 2554 return IfThenElse(x < y, x, y); in Min() 2884 return IfThenElse(x > y, x, y); in Max() 2889 return IfThenElse(x < y, x, y); in Min() 3765 abs = IfThenElse(e < 24, (mantissa >> e), Int(0)); in Half() 3982 return IfThenElse(x > 0.0f, x, -x); in Abs() 3987 return IfThenElse(x > y, x, y); in Max() 3992 return IfThenElse(x < y, x, y); in Min() 4740 return IfThenElse(x != y, Int(~0), Int(0)); in CmpNEQ()
|
D | SubzeroReactor.cpp | 2247 return Byte(IfThenElse(Int(x) > 0xFF, Int(0xFF), IfThenElse(Int(x) < 0, Int(0), Int(x)))); in SaturateUnsigned() 2413 return SByte(IfThenElse(Int(x) > 0x7F, Int(0x7F), IfThenElse(Int(x) < -0x80, Int(0x80), Int(x)))); in SaturateSigned() 2626 return Short(IfThenElse(x > 0x7FFF, Int(0x7FFF), IfThenElse(x < -0x8000, Int(0x8000), x))); in SaturateSigned() 2915 return UShort(IfThenElse(x > 0xFFFF, Int(0xFFFF), IfThenElse(x < 0, Int(0), x))); in SaturateUnsigned() 3273 IfThenElse(cast >= ustartf, in UInt()
|
D | Reactor.hpp | 3149 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, RValue<T> ifFalse) in IfThenElse() function 3156 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, RValue<T> ifFalse) in IfThenElse() function 3165 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, const T &ifFalse) in IfThenElse() function 3174 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, const T &ifFalse) in IfThenElse() function
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Blitter.cpp | 756 Float red_c = Min(IfThenElse(!(c.x > 0), Float(0), Float(c.x)), sharedexp_max); in write() 757 Float green_c = Min(IfThenElse(!(c.y > 0), Float(0), Float(c.y)), sharedexp_max); in write() 758 Float blue_c = Min(IfThenElse(!(c.z > 0), Float(0), Float(c.z)), sharedexp_max); in write() 1585 X1 = IfThenElse(X1 >= sWidth, X0, X1); in sample() 1586 Y1 = IfThenElse(Y1 >= sHeight, Y0, Y1); in sample() 1591 Z1 = IfThenElse(Z1 >= sHeight, Z0, Z1); in sample()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | local_ssa_elim_test.cpp | 831 TEST_F(LocalSSAElimTest, IfThenElse) { in TEST_F() argument
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | local_ssa_elim_test.cpp | 831 TEST_F(LocalSSAElimTest, IfThenElse) { in TEST_F() argument
|
/third_party/spirv-tools/test/opt/ |
D | local_ssa_elim_test.cpp | 831 TEST_F(LocalSSAElimTest, IfThenElse) { in TEST_F() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Blitter.cpp | 1338 X1 = IfThenElse(X1 >= sWidth, X0, X1); in generate() 1339 Y1 = IfThenElse(Y1 >= sHeight, Y0, Y1); in generate()
|
/third_party/skia/third_party/externals/swiftshader/docs/ |
D | Reactor.md | 206 There's also an IfThenElse() intrinsic function which corresponds with the C++ ?: operator.
|
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
D | ReactorUnitTests.cpp | 2340 Return(IfThenElse(same, Int(1), Int(0))); // TODO: Ability to use Bools as return values. in TYPED_TEST()
|