Skip to content

Commit

Permalink
update compute
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Nov 6, 2024
1 parent d77dd35 commit 294e4e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compute
Submodule compute updated 375 files
2 changes: 1 addition & 1 deletion src/films/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class DisplayInstance final : public Film::Instance {
.hdr = d->hdr(),
.back_buffers = d->back_buffers()});
_framebuffer = device.create_image<float>(_window->swapchain().backend_storage(), size);
_background = reinterpret_cast<ImTextureID>(_window->register_texture(_framebuffer, TextureSampler::linear_point_zero()));
_background = _window->register_texture(_framebuffer, TextureSampler::linear_point_zero());
_blit = device.compile<2>([base = _base.get(), &framebuffer = _framebuffer](Int tonemapping, Bool ldr, Float3 scale, Float3 white_balance) noexcept {
auto p = dispatch_id().xy();
auto color = base->read(p).average * scale;
Expand Down

0 comments on commit 294e4e4

Please sign in to comment.