intel/compiler: remove NV_mesh_shader support

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24071>
This commit is contained in:
Marcin Ślusarz
2023-07-10 14:05:37 +02:00
committed by Marge Bot
parent 87dd96bbbe
commit 36ff6c0004
3 changed files with 7 additions and 21 deletions

View File

@@ -7715,11 +7715,7 @@ fs_visitor::emit_work_group_id_setup()
bld.MOV(offset(id, bld, 1), r0_6);
bld.MOV(offset(id, bld, 2), r0_7);
} else {
/* NV Task/Mesh have a single Workgroup ID dimension in the HW. */
assert(gl_shader_stage_is_mesh(stage));
assert(nir->info.mesh.nv);
bld.MOV(offset(id, bld, 1), brw_imm_ud(0));
bld.MOV(offset(id, bld, 2), brw_imm_ud(0));
unreachable("workgroup id should not be used in non-compute stage");
}
return id;