Descriptors now work in metal hopefully
This commit is contained in:
@@ -47,9 +47,9 @@ void reduceLevel(
|
||||
void sourceCopy(
|
||||
uint2 dispatchID: SV_DispatchThreadID
|
||||
) {
|
||||
if(dispatchID.x >= pViewParams.screenDimensions.x || dispatchID.y >= pViewParams.screenDimensions.y)
|
||||
if(dispatchID.x >= pViewParams.c.screenDimensions.x || dispatchID.y >= pViewParams.c.screenDimensions.y)
|
||||
{
|
||||
return;
|
||||
}
|
||||
pDepthAttachment.buffer[dispatchID.x + (dispatchID.y * uint(pViewParams.screenDimensions.x))] = pDepthAttachment.texture[uint2(dispatchID)];
|
||||
pDepthAttachment.buffer[dispatchID.x + (dispatchID.y * uint(pViewParams.c.screenDimensions.x))] = pDepthAttachment.texture[uint2(dispatchID)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user