mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
brw: don't use brw_null_reg() for unused SEND sources
Just avoiding the validation assert.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 47fe9d28e7 ("brw: Enumerate SHADER_OPCODE_SEND sources and standardize how many")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13777
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37112>
This commit is contained in:
parent
11a434f3df
commit
33d2c31d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ brw_opt_send_gather_to_send(brw_shader &s)
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
payload2 = brw_null_reg();
|
||||
payload2 = brw_reg();
|
||||
}
|
||||
|
||||
if (payload1_len + payload2_len != num_payload_sources)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue