The first frames work finally

This commit is contained in:
Dynamitos
2024-10-19 11:54:04 +02:00
parent 1193406dd8
commit 17746f8d20
11 changed files with 101 additions and 134 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ void Split(uint dispatchID : SV_DispatchThreadID)
uint currentID = pParams.classificationBuffer[CLASSIFY_COUNTER_OFFSET + dispatchID];
// Split the element
SplitElement(currentID, pParams.geometry.baseDepth, dispatchID);
SplitElement(currentID, pParams.geometry.baseDepth);
}
[numthreads(1, 1, 1)]
@@ -74,7 +74,7 @@ void Bisect(uint groupIndex : SV_GroupIndex, uint dispatchID : SV_DispatchThread
return;
// Operation the bisection of this element
BisectElement(pParams.allocateBuffer[1 + dispatchID]);
BisectElement(pParams.allocateBuffer[1 + dispatchID], dispatchID);
}
[numthreads(WORKGROUP_SIZE, 1, 1)]