Skip to content

Commit

Permalink
Add the missing thread_index and shade_index members to the copy of S…
Browse files Browse the repository at this point in the history
…haderGlobals in testshade/cuda/rend_lib.h.

Signed-off-by: Tim Grant <[email protected]>
  • Loading branch information
tgrant-nv committed Aug 25, 2023
1 parent a4e779c commit bef75d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/testrender/cuda/rend_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ struct ShaderGlobals {
float3 Ps, dPsdx, dPsdy;
void* renderstate;
void* shadingStateUniform;
int thread_index;
int shade_index;
void* tracedata;
void* objdata;
void* context;
Expand Down

0 comments on commit bef75d0

Please sign in to comment.