@@ -3020,11 +3020,11 @@ pl_renderer_render_view(plView* ptView, plCamera* ptCamera, plCamera* ptCullCame
30203020 uJumpSteps = 1 ;
30213021
30223022 const plDispatch tDispach = {
3023- .uGroupCountX = (uint32_t )ceilf (tDimensions .x / 8 .0f ),
3024- .uGroupCountY = (uint32_t )ceilf (tDimensions .y / 8 .0f ),
3023+ .uGroupCountX = (uint32_t )ceilf (tDimensions .x / 32 .0f ),
3024+ .uGroupCountY = (uint32_t )ceilf (tDimensions .y / 32 .0f ),
30253025 .uGroupCountZ = 1 ,
3026- .uThreadPerGroupX = 8 ,
3027- .uThreadPerGroupY = 8 ,
3026+ .uThreadPerGroupX = 32 ,
3027+ .uThreadPerGroupY = 32 ,
30283028 .uThreadPerGroupZ = 1
30293029 };
30303030
@@ -3210,11 +3210,11 @@ pl_renderer_render_view(plView* ptView, plCamera* ptCamera, plCamera* ptCullCame
32103210 plTexture * ptFinalTexture = gptGfx -> get_texture (gptData -> ptDevice , ptView -> tFinalTexture );
32113211
32123212 plDispatch tTonemapDispatch = {
3213- .uGroupCountX = (uint32_t )(ceilf (ptFinalTexture -> tDesc .tDimensions .x / 8 .0f )),
3214- .uGroupCountY = (uint32_t )(ceilf (ptFinalTexture -> tDesc .tDimensions .y / 8 .0f )),
3213+ .uGroupCountX = (uint32_t )(ceilf (ptFinalTexture -> tDesc .tDimensions .x / 32 .0f )),
3214+ .uGroupCountY = (uint32_t )(ceilf (ptFinalTexture -> tDesc .tDimensions .y / 32 .0f )),
32153215 .uGroupCountZ = 1 ,
3216- .uThreadPerGroupX = 8 ,
3217- .uThreadPerGroupY = 8 ,
3216+ .uThreadPerGroupX = 32 ,
3217+ .uThreadPerGroupY = 32 ,
32183218 .uThreadPerGroupZ = 1
32193219 };
32203220 gptGfx -> dispatch (ptPostEncoder , 1 , & tTonemapDispatch );
0 commit comments