diff options
author | Thomas Wood <thomas.wood@intel.com> | 2014-02-07 17:03:38 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-02-11 14:35:09 +0100 |
commit | e6737b8a4ef42109f82c13127d8e2e5da92eb79f (patch) | |
tree | 463a313d28b09d39be6dd582aae9d278c72bfc70 /assembler | |
parent | 49aa4b0df52254d47b354e98ec18236ff82b06e9 (diff) |
assembler: fix condition for printing a warning
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'assembler')
-rw-r--r-- | assembler/gram.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assembler/gram.y b/assembler/gram.y index ad4cb290..f4145bd9 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -351,7 +351,7 @@ static bool validate_src_reg(struct brw_program_instruction *insn, /* B. If ExecSize = Width and HorzStride ≠ 0, VertStride must be set to * Width * HorzStride. */ if (execsize == width && hstride != 0) { - if (vstride != -1 && vstride != width * hstride); + if (vstride != -1 && vstride != width * hstride) warn(ALL, location, "execution size == width and hstride != 0 but " "vstride is not width * hstride\n"); } |