projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/eu/validate/gen12: Fix validation of SYNC instruction.
[mesa.git]
/
src
/
intel
/
compiler
/
brw_eu_validate.c
diff --git
a/src/intel/compiler/brw_eu_validate.c
b/src/intel/compiler/brw_eu_validate.c
index 068143d0dd0af50d5a8435cdbdb6cf0def3fc789..7acc9c3b57d8ddbe9c438a07141a3204c76b0899 100644
(file)
--- a/
src/intel/compiler/brw_eu_validate.c
+++ b/
src/intel/compiler/brw_eu_validate.c
@@
-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)