mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Fixes
This commit is contained in:
parent
f7ae9c06d8
commit
408742494a
@ -51,7 +51,7 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
|
|||||||
PrecisionStopwatch p = PrecisionStopwatch.start();
|
PrecisionStopwatch p = PrecisionStopwatch.start();
|
||||||
int i;
|
int i;
|
||||||
AtomicInteger j = new AtomicInteger();
|
AtomicInteger j = new AtomicInteger();
|
||||||
if (false) {
|
if (false) { // TODO FIX DESYNCS
|
||||||
BurstExecutor e = getEngine().burst().burst(output.getWidth());
|
BurstExecutor e = getEngine().burst().burst(output.getWidth());
|
||||||
for (i = 0; i < output.getWidth(); i++) {
|
for (i = 0; i < output.getWidth(); i++) {
|
||||||
int finalI = i;
|
int finalI = i;
|
||||||
@ -63,11 +63,7 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
|
|||||||
}
|
}
|
||||||
e.complete();
|
e.complete();
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < output.getWidth(); i++) {
|
|
||||||
for (j.set(0); j.get() < output.getDepth(); j.getAndIncrement()) {
|
|
||||||
post(i, j.get(), output, i + x, j.get() + z);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getEngine().getMetrics().getPost().put(p.getMilliseconds());
|
getEngine().getMetrics().getPost().put(p.getMilliseconds());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user