54 inline int bend_min(
const int a,
const int b) {
return a > b ? b : a; }
55 inline int bend_max(
const int a,
const int b) {
return a > b ? a : b; }
111 for (
int q = 0; q < 4; q++)
127 int bias_x = (q == 2 || q == 3) ? 1 : 0;
128 int bias_y = (q == 1 || q == 3) ? 1 : 0;
160 disp2.WaveOffset_Shader[0]--;
161 disp2.WaveCount[1] ++;
169 disp2.WaveCount[2] ++;
177 disp2.WaveCount[2] ++;
178 disp2.WaveOffset_Shader[1]--;
186 disp2.WaveCount[1] ++;
190 if (
disp2.WaveCount[1] <= 0 ||
disp2.WaveCount[2] <= 0)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
Definition bend_sss_cpu.h:28
DispatchList BuildDispatchList(float inLightProjection[4], int inViewportSize[2], int inMinRenderBounds[2], int inMaxRenderBounds[2], bool inExpandedZRange=false, int inWaveSize=64)
Definition bend_sss_cpu.h:73
int bend_max(const int a, const int b)
Definition bend_sss_cpu.h:55
int bend_min(const int a, const int b)
Definition bend_sss_cpu.h:54
Definition bend_sss_cpu.h:39
int WaveOffset_Shader[2]
Definition bend_sss_cpu.h:41
int WaveCount[3]
Definition bend_sss_cpu.h:40
Definition bend_sss_cpu.h:45
float LightCoordinate_Shader[4]
Definition bend_sss_cpu.h:46
int DispatchCount
Definition bend_sss_cpu.h:49
DispatchData Dispatch[8]
Definition bend_sss_cpu.h:48