MCPcopy Create free account
hub / github.com/3DAnimals/3DAnimals / getLaunchGridSize

Function getLaunchGridSize

model/render/renderutils/c_src/common.cpp:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65dim3 getLaunchGridSize(dim3 blockSize, dim3 dims)
66{
67 dim3 gridSize;
68 gridSize.x = (dims.x - 1) / blockSize.x + 1;
69 gridSize.y = (dims.y - 1) / blockSize.y + 1;
70 gridSize.z = (dims.z - 1) / blockSize.z + 1;
71 return gridSize;
72}
73
74//------------------------------------------------------------------------

Callers 15

lambert_fwdFunction · 0.85
lambert_bwdFunction · 0.85
frostbite_fwdFunction · 0.85
frostbite_bwdFunction · 0.85
fresnel_shlick_fwdFunction · 0.85
fresnel_shlick_bwdFunction · 0.85
ndf_ggx_fwdFunction · 0.85
ndf_ggx_bwdFunction · 0.85
lambda_ggx_fwdFunction · 0.85
lambda_ggx_bwdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected