Skip to content

Commit aef2a80

Browse files
committed
clang format
Signed-off-by: Curtis Black <curtis.w.black@gmail.com>
1 parent d73a310 commit aef2a80

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/testrender/cuda/optix_raytracer.cu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ __device__ __constant__ RenderParams render_params;
4848

4949

5050
static inline __device__ void
51-
execute_shader(ShaderGlobalsType& sg, const int shader_id, StackClosurePool& closure_pool)
51+
execute_shader(ShaderGlobalsType& sg, const int shader_id,
52+
StackClosurePool& closure_pool)
5253
{
5354
if (shader_id < 0) {
5455
// TODO: should probably never get here ...

src/testshade/render_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class StackClosurePool {
4646
return (void*)p;
4747
return nullptr;
4848
}
49-
}
49+
};
5050

5151
struct RenderState {
5252
RenderContext* context;

src/testshade/testshade.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -959,9 +959,9 @@ setup_shaderglobals(ShaderGlobals& sg, ShadingSystem* shadingsys,
959959

960960
// Any state data needed by SimpleRenderer or its free function equivalent
961961
// will need to be passed here the ShaderGlobals.
962-
renderState.context = &theRenderState;
963-
renderState.closure_pool = nullptr; // Use inbuilt closure pool.
964-
sg.renderstate = &renderState;
962+
renderState.context = &theRenderState;
963+
renderState.closure_pool = nullptr; // Use inbuilt closure pool.
964+
sg.renderstate = &renderState;
965965

966966
// Set "shader" space to be Mshad. In a real renderer, this may be
967967
// different for each shader group.

0 commit comments

Comments
 (0)