mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-07-03 06:45:21 -04:00
Fix the unbelieveably stupid bug I've been chasing for days.
This commit is contained in:
@ -429,6 +429,7 @@ class PaletteLookup(PTXFragment):
|
||||
self.texref.set_address_mode(0, cuda.address_mode.CLAMP)
|
||||
self.texref.set_address_mode(1, cuda.address_mode.CLAMP)
|
||||
self.texref.set_array(dev_array)
|
||||
self.pal = pal
|
||||
|
||||
def call_setup(self, ctx):
|
||||
assert self.texref, "Must upload palette texture before launch!"
|
||||
|
@ -98,8 +98,8 @@ class Frame(object):
|
||||
for batch_idx in range(center.nbatches):
|
||||
for time_idx in range(center.ntemporal_samples):
|
||||
idx = time_idx + batch_idx * center.nbatches
|
||||
time = time + filters.temporal_deltas[idx]
|
||||
cp = self._frame.interpolate(time)
|
||||
interp_time = time + filters.temporal_deltas[idx]
|
||||
cp = self._frame.interpolate(interp_time)
|
||||
cp_list.append(cp)
|
||||
|
||||
cp.camera = Camera(self._frame, cp, filters)
|
||||
|
Reference in New Issue
Block a user