mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
Work count X is unrelated to the local size here
This commit is contained in:
parent
f097cc3b4e
commit
9c87d9998f
@ -962,7 +962,7 @@ void ComputeRenderer::RenderFrame(GPU& gpu)
|
|||||||
|
|
||||||
// bin polygons
|
// bin polygons
|
||||||
glUseProgram(ShaderBinCombined);
|
glUseProgram(ShaderBinCombined);
|
||||||
glDispatchCompute(((gpu.GPU3D.RenderNumPolygons + CoarseTileArea - 1) / CoarseTileArea), ScreenWidth/CoarseTileW, ScreenHeight/CoarseTileH);
|
glDispatchCompute(((gpu.GPU3D.RenderNumPolygons + 31) / 32), ScreenWidth/CoarseTileW, ScreenHeight/CoarseTileH);
|
||||||
glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
|
glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
|
||||||
|
|
||||||
// calculate list offsets
|
// calculate list offsets
|
||||||
|
Loading…
Reference in New Issue
Block a user