Skip to content

Commit 5e9441a

Browse files

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/Device/Blitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ namespace sw
12971297
Int4 linear = CmpLT(c, Float4(0.04045f));
12981298

12991299
Float4 s = c;
1300-
s.xyz = As<Float4>((linear & As<Int4>(lc)) | (~linear & As<Int4>(ec))); // FIXME: IfThenElse()
1300+
s.xyz = As<Float4>((linear & As<Int4>(lc)) | (~linear & As<Int4>(ec))); // TODO: IfThenElse()
13011301

13021302
return s;
13031303
}

src/Pipeline/SamplerCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ namespace sw
21952195
default: // Wrap
21962196
{
21972197
Int4 under = CmpLT(xyz0, Int4(0));
2198-
xyz0 = (under & maxXYZ) | (~under & xyz0); // xyz < 0 ? dim - 1 : xyz // FIXME: IfThenElse()
2198+
xyz0 = (under & maxXYZ) | (~under & xyz0); // xyz < 0 ? dim - 1 : xyz // TODO: IfThenElse()
21992199

22002200
Int4 nover = CmpLT(xyz1, dim);
22012201
xyz1 = nover & xyz1; // xyz >= dim ? 0 : xyz

src/Pipeline/SpirvShader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ namespace
275275
sw::SIMD::Int linear = CmpLT(c, sw::SIMD::Float(0.04045f));
276276

277277
sw::SIMD::Float s = c;
278-
s.xyz = rr::As<sw::SIMD::Float>((linear & rr::As<sw::SIMD::Int>(lc)) | (~linear & rr::As<sw::SIMD::Int>(ec))); // FIXME: IfThenElse()
278+
s.xyz = rr::As<sw::SIMD::Float>((linear & rr::As<sw::SIMD::Int>(lc)) | (~linear & rr::As<sw::SIMD::Int>(ec))); // TODO: IfThenElse()
279279

280280
return s;
281281
}
@@ -3486,7 +3486,7 @@ namespace sw
34863486
for (auto i = 0u; i < type.sizeInComponents; i++)
34873487
{
34883488
auto sel = cond.Int(condIsScalar ? 0 : i);
3489-
dst.move(i, (sel & lhs.Int(i)) | (~sel & rhs.Int(i))); // FIXME: IfThenElse()
3489+
dst.move(i, (sel & lhs.Int(i)) | (~sel & rhs.Int(i))); // TODO: IfThenElse()
34903490
}
34913491

34923492
return EmitResult::Continue;

src/Renderer/Blitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ namespace sw
11741174
Int4 linear = CmpLT(c, Float4(0.04045f));
11751175

11761176
Float4 s = c;
1177-
s.xyz = As<Float4>((linear & As<Int4>(lc)) | (~linear & As<Int4>(ec))); // FIXME: IfThenElse()
1177+
s.xyz = As<Float4>((linear & As<Int4>(lc)) | (~linear & As<Int4>(ec))); // TODO: IfThenElse()
11781178

11791179
return s;
11801180
}

src/Shader/SamplerCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ namespace sw
24812481
default: // Wrap
24822482
{
24832483
Int4 under = CmpLT(xyz0, Int4(0));
2484-
xyz0 = (under & maxXYZ) | (~under & xyz0); // xyz < 0 ? dim - 1 : xyz // FIXME: IfThenElse()
2484+
xyz0 = (under & maxXYZ) | (~under & xyz0); // xyz < 0 ? dim - 1 : xyz // TODO: IfThenElse()
24852485

24862486
Int4 nover = CmpLT(xyz1, dim);
24872487
xyz1 = nover & xyz1; // xyz >= dim ? 0 : xyz

0 commit comments

Comments
 (0)