PacktPublishing / 3D-Graphics-Rendering-Cookbook-Second-Edition

3D-Graphics-Rendering-Cookbook, Second Edition
MIT License
116 stars 11 forks source link

Chapter 5 - ComputeMesh (sample 9) exceeds maxComputeWorkGroupCount #4

Closed sjfricke closed 6 months ago

sjfricke commented 6 months ago

running on Intel Mesa, my maxComputeWorkGroupCount[0] is only 64k and I am getting VVL errors as the dispatch group is too large (confirmed with debugger it is setting 524288)

Validation Error: VUID-vkCmdDispatch-groupCountX-00386
vkCmdDispatch(): groupCountX (524288) exceeds device limit maxComputeWorkGroupCount[0] (65535).

corporateshark commented 6 months ago

Fixed in 0e74afa724b4bd8b81dd550cea498df035e3c249