mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
zink: set OutputPoints for mesh point output
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37470>
This commit is contained in:
parent
94179ae7ef
commit
52c902d8cc
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue