i965: Avoid validation error when src1 is not present
There can be no violation of the restriction that source offsets are aligned if there is only one source offset.
This commit is contained in:
@@ -941,7 +941,7 @@ region_alignment_rules(const struct gen_device_info *devinfo,
|
||||
} \
|
||||
} \
|
||||
\
|
||||
ERROR_IF(offset_0 != offset_1, \
|
||||
ERROR_IF(num_sources == 2 && offset_0 != offset_1, \
|
||||
"The offset from the two source registers " \
|
||||
"must be the same")
|
||||
|
||||
|
Reference in New Issue
Block a user