zink: set OutputPoints for mesh point output
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37470>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user