zink: set OutputPoints for mesh point output

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37470>
This commit is contained in:
Mike Blumenkrantz 2025-09-18 07:21:32 -04:00
parent 94179ae7ef
commit 52c902d8cc

View file

@ -5136,6 +5136,9 @@ nir_to_spirv(struct nir_shader *s, const struct zink_shader_info *sinfo, const s
case MESA_SHADER_MESH: {
unsigned mode = 0;
switch (s->info.mesh.primitive_type) {
case MESA_PRIM_POINTS:
mode = SpvExecutionModeOutputPoints;
break;
case MESA_PRIM_LINES:
mode = SpvExecutionModeOutputLinesEXT;
break;