Skip to content

Commit

Permalink
Fix compilation on some picky compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom94 committed Jan 31, 2024
1 parent eb12d61 commit b5155b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/neural-graphics-primitives/testbed.h
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ class Testbed {
} training = {};

// tracing state
GPUMemory<vec3> pos[2] = {};
GPUMemory<VolPayload> payload[2] = {};
GPUMemory<vec3> pos[2] = {{}, {}};
GPUMemory<VolPayload> payload[2] = {{}, {}};
GPUMemory<uint32_t> hit_counter = {};
GPUMemory<vec4> radiance_and_density;
} m_volume;
Expand Down

0 comments on commit b5155b1

Please sign in to comment.