Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a latent issue of mesh query on Navi2x
For such mesh shader: layout(local_size_x=1, local_size_y=1, local_size_z=128) in; layout(triangles, max_vertices=0, max_primitives=0) out; void main() { } It is valid when SetMeshOutputs is missing. We will do dummy export with vertexCount=0 and primitiveCount=0. But the dummy export doesn't write the data to mesh pipeline statistics buffer. The mesh query will fail. On Navi2x, mesh statistics still rely on SW compiler emulation and we must do it by calling collectMeshStatsInfo.
- Loading branch information