mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 10:10:14 +01:00
intel/compiler: mask GS URB handles at thread payload construction
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25195>
This commit is contained in:
parent
815eee10e0
commit
ea92bd8d44
1 changed files with 3 additions and 1 deletions
|
|
@ -108,7 +108,9 @@ gs_thread_payload::gs_thread_payload(const fs_visitor &v)
|
|||
unsigned r = reg_unit(v.devinfo);
|
||||
|
||||
/* R1: output URB handles. */
|
||||
urb_handles = brw_ud8_grf(r, 0);
|
||||
urb_handles = v.bld.vgrf(BRW_REGISTER_TYPE_UD);
|
||||
v.bld.AND(urb_handles, brw_ud8_grf(r, 0),
|
||||
v.devinfo->ver >= 20 ? brw_imm_ud(0xFFFFFF) : brw_imm_ud(0xFFFF));
|
||||
r += reg_unit(v.devinfo);
|
||||
|
||||
if (gs_prog_data->include_primitive_id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue