mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
intel/eu/validate/gen12: Fix validation of SYNC instruction.
src0 will typically be null for this instruction. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
45768e6b3c
commit
a81f9b5e3e
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ sources_not_null(const struct gen_device_info *devinfo,
|
|||
if (inst_is_split_send(devinfo, inst))
|
||||
return (struct string){};
|
||||
|
||||
if (num_sources >= 1)
|
||||
if (num_sources >= 1 && brw_inst_opcode(devinfo, inst) != BRW_OPCODE_SYNC)
|
||||
ERROR_IF(src0_is_null(devinfo, inst), "src0 is null");
|
||||
|
||||
if (num_sources == 2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue