mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 01:40:43 +01:00
mesa/st: convert mesh shader to gl stages
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36976>
This commit is contained in:
parent
6b52b371df
commit
2ca3ad3ca2
1 changed files with 6 additions and 0 deletions
|
|
@ -100,6 +100,12 @@ static unsigned mesa_to_gl_stages(unsigned stages)
|
|||
if (stages & BITFIELD_BIT(MESA_SHADER_COMPUTE))
|
||||
ret |= GL_COMPUTE_SHADER_BIT;
|
||||
|
||||
if (stages & BITFIELD_BIT(MESA_SHADER_TASK))
|
||||
ret |= GL_TASK_SHADER_BIT_EXT;
|
||||
|
||||
if (stages & BITFIELD_BIT(MESA_SHADER_MESH))
|
||||
ret |= GL_MESH_SHADER_BIT_EXT;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue