forked from Dynamitos/Seele
The first frames work finally
This commit is contained in:
1 parent
1193406dd8
commit
17746f8d20
11 files changed
+101
-134
No files matched your search
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user