mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 13:20:10 +01:00
v3d: treat SHADER_KERNEL as SHADER_COMPUTE
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25362>
This commit is contained in:
parent
3889a8e26c
commit
8f72e60c75
1 changed files with 3 additions and 0 deletions
|
|
@ -364,6 +364,9 @@ v3d_uncompiled_shader_create(struct pipe_context *pctx,
|
|||
s = tgsi_to_nir(ir, pctx->screen, false);
|
||||
}
|
||||
|
||||
if (s->info.stage == MESA_SHADER_KERNEL)
|
||||
s->info.stage = MESA_SHADER_COMPUTE;
|
||||
|
||||
if (s->info.stage != MESA_SHADER_VERTEX &&
|
||||
s->info.stage != MESA_SHADER_GEOMETRY) {
|
||||
NIR_PASS(_, s, nir_lower_io,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue